{{--
Will have following info on it;
- time
- restaurant's name
- table no
- waiter's name
- orders list
- subtotal of printed orders
- grand total price of the table
--}}
{{ company()->name }}
{{ company()->address }}
@if(company()->phone)
TEL: {{ company()->phone }}
@endif
| @transUcFirst('generic.table') : |
@transUcFirst('generic.table') {{ $sale->destinationName }} |
| @transUcFirst('firm.orders.slip.sale_no') : |
#{{ $sale->saleNo }} |
| @transUcFirst('firm.orders.slip.opening') : |
{{ $sale->started_at }} |
| @transUcFirst('firm.orders.slip.bill') : |
{{ Carbon\Carbon::now() }} |
| @transUcFirst('models.product.model_name') |
@transUcFirst('models.order.quantity') |
@transUcFirst('generic.amount') |
@foreach($stackedOrders as $order)
| {{ str_limit($order->product->name, 15, '') }} |
{{ number_format($order->quantity, 2) }} |
@if($order->isTreat())
{{ number_format($order->total_price, 2) }}
@else
@if(company()->id === 868)
{{ number_format($order->price * $order->quantity, 2) }}
@else
{{ number_format($order->total_price - ($order->service_fee * $order->quantity), 2) }}
@endif
@endif
|
@endforeach
@if($sale->service_fee > 0)
@if(company()->id === 868)
| Kuver : |
@else
@transTitleCase('generic.financial.service_fee') : |
@endif
{{ number_format($sale->service_fee, 2) }} |
@endif
@if(company()->id === 868)
| @transTitleCase('generic.financial.vat') : |
{{ number_format($sale->vat, 2) }} |
@endif
@if($sale->gross_price !== $sale->net_price)
| @transTitleCase('generic.financial.subtotal') : |
{{ number_format($sale->gross_price, 2) }} |
@endif
@if($sale->treat > 0)
| @transTitleCase('generic.financial.treats') : |
-{{ number_format($sale->treat, 2) }} |
@endif
@if($sale->discount > 0)
| @transTitleCase('generic.financial.discounts') : |
-{{ number_format($sale->discount, 2) }} |
@endif
@if(company()->id !== 941)
@if($groupStats && count($groupStats) > 1)
@foreach($groupStats as $groupData)
| {{ $groupData['invoice_title'] }} ({{ $groupData['vat_pct'] }}) : |
{{ number_format($groupData['total_price'], 2) }} |
@endforeach
@endif
@endif
| @transTitleCase('generic.financial.grand_total') : |
{{ number_format($sale->net_price, 2) }}
{{ strtoupper(company()->settingsGet('currency')) }}
|
@if(company()->id === 450)
|
{{ number_format(convertCurrency($sale->net_price, company()->settingsGet('currency'), 'EUR'), 2) }}
EUR
|
@endif
-