typo..
This commit is contained in:
@ -50,7 +50,7 @@ class Companies extends Controller
|
|||||||
$currencies = [];
|
$currencies = [];
|
||||||
|
|
||||||
foreach ($money_currencies as $key => $item) {
|
foreach ($money_currencies as $key => $item) {
|
||||||
$currencies[$key] = $item['name'];
|
$currencies[$key] = $key . ' - ' . $item['name'];
|
||||||
}
|
}
|
||||||
|
|
||||||
return view('common.companies.create', compact('currencies'));
|
return view('common.companies.create', compact('currencies'));
|
||||||
@ -106,7 +106,7 @@ class Companies extends Controller
|
|||||||
$currencies = [];
|
$currencies = [];
|
||||||
|
|
||||||
foreach ($money_currencies as $key => $item) {
|
foreach ($money_currencies as $key => $item) {
|
||||||
$currencies[$key] = $item['name'];
|
$currencies[$key] = $key . ' - ' . $item['name'];
|
||||||
}
|
}
|
||||||
|
|
||||||
return view('common.companies.edit', compact('company', 'currencies'));
|
return view('common.companies.edit', compact('company', 'currencies'));
|
||||||
|
Reference in New Issue
Block a user