refs #451 Invoice create added item price mask
This commit is contained in:
@ -365,9 +365,16 @@ class Customers extends Controller
|
||||
// Get currency object
|
||||
$currency = Currency::where('code', $currency_code)->first();
|
||||
|
||||
$customer->currency_name = $currency->name;
|
||||
$customer->currency_code = $currency_code;
|
||||
$customer->currency_rate = $currency->rate;
|
||||
|
||||
$customer->thousands_separator = $currency->thousands_separator;
|
||||
$customer->decimal_mark = $currency->decimal_mark;
|
||||
$customer->precision = (int) $currency->precision;
|
||||
$customer->symbol_first = $currency->symbol_first;
|
||||
$customer->symbol = $currency->symbol;
|
||||
|
||||
return response()->json($customer);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user