ticket fix
This commit is contained in:
parent
ec56fc2d0f
commit
6ec8c5419b
|
|
@ -11,7 +11,7 @@ if (!function_exists('money')) {
|
|||
function money($amount, \App\Models\Currency $currency = null)
|
||||
{
|
||||
if(!$currency){
|
||||
return number_format($amount,2,'.',',').' manat';
|
||||
return number_format($amount,2,'.',',').' tmt';
|
||||
}
|
||||
return $currency->symbol_left . number_format($amount, $currency->decimal_place, $currency->decimal_point,
|
||||
$currency->thousand_point) . $currency->symbol_right;
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@
|
|||
$grand_total += $tax_amt;
|
||||
@endphp
|
||||
|
||||
<p style="margin-bottom: 5px !important;"><span class="text-muted">Стоимость билета:</span> <b>{{money($grand_total, $order->event->currency)}} @if ($attendee->ticket->total_booking_fee) (inc. {{money($attendee->ticket->total_booking_fee, $order->event->currency)}}@endif</b>
|
||||
<p style="margin-bottom: 5px !important;"><span class="text-muted">Стоимость билета:</span> <b>{{money($grand_total, $order->event->currency)}} @if ($attendee->ticket->total_booking_fee) (hz. {{money($attendee->ticket->total_booking_fee, $order->event->currency)}}@endif</b>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Reference in New Issue