ticket fix

This commit is contained in:
merdan 2019-12-23 18:05:58 +05:00
parent ec56fc2d0f
commit 6ec8c5419b
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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>