{{ trans('label.cart_totals') }}
@php
if( $total == 0 )
$shipping_price = 0;
@endphp
@if ( auth()->check() && auth()->user()->level == 'staff' && auth()->user()->login_type != 'staff-event' )
@php
$discount = $total * 10 / 100;
$total = $total - $discount;
@endphp
@if (count($carts) > 0 )
{{ trans('label.proceed_to_checkout') }}
@endif
{{ trans('label.staff_discount') }} | {{ nb( $discount,2) }} |
{{ trans('label.cart_subtotal') }} | ฿{{ nb($total,2) }} |
{{ trans('label.shipping') }} | ฿{{ nb( $shipping_price, 2 ) }} |
{{ trans('label.total_price') }} | ฿{{ nb( $total + $shipping_price ,2 ) }} |
{{ trans('label.shipping_remark') }}