{{-- Close your eyes. Count to one. That is how long forever feels. --}}
BACK
@if($hidedisc == false)
DISCOUNT
@else
Delete
@endif
PRINT
{{-- START. --}}

{{\App\Models\settings::where('key','address')->count() == 0 ? null : App\Models\settings::where('key','address')->first()->value }}

@if($data->table_id == 'DELIVERY') DELIVERY @elseif($data->table_id == 'TAKEAWAY') TAKEAWAY @else DINE-IN @endif
BILL NO : {{$idf}}
Table no : {{$data->table_id}}
Time: {{$ca->format('h:i A')}}
Date : {{$ca->format('d/m/y')}}
@foreach($items as $key=> $t) @endforeach
SI Item Name QTY RATE AMOUNT
{{$i}} {{$t->name}} {{$t->qyt}} ₹{{$t->price}} ₹{{$t->qyt*$t->price}}
TOTAL ITEMS : {{count($items)}} / QYT: {{$totalqyt}}
@if($data->table_id == 'DELIVERY')
DELIVERY CHARGES :
₹{{$delivery_charges}}
@endif @if($discb ) @if($total_disc != 0)
Total Before DISCOUNT:
@if($data->table_id == 'DELIVERY') ₹{{$sum +$delivery_charges}} @else ₹{{$sum }} @endif
DISCOUNT @if($disc_type == 'fixed')@else '(%)' @endif: {{$total_disc}}
₹{{$sum - $sum2}}
@endif @endif
TOTAL :
@if($data->table_id == 'DELIVERY') ₹{{($sum2 ?? $sum)+$delivery_charges}} @else ₹{{($sum2 ?? $sum)}} @endif
@if (\App\Models\settings::where('key','upi')->count() == 0 || \App\Models\settings::where('key','upi')->first()->value == null ) @else
{!! QrCode::style('round') ->eye('circle') ->size(180) ->generate('upi://pay?pa='.\App\Models\settings::where('key','upi')->first()->value.'&am='.$billtotal.'&pn='.\App\Models\settings::where('key','name')->first()->value.'&cu=INR&mode=02&orgid=189999&sign=MEYCIQC8bLDdRbDhpsPAt9wR1a0pcEssDaVQ7lugo8mfJhDk6wIhANZkbXOWWR2lhJOH2Qs/OQRaRFD2oBuPCGtrMaVFR23t') !!}
@endif
THANK YOU. VISIT AGAIN !
{{-- END --}} Delete Do You want to Delete this Invoice amounting
₹{{$sum2 ?? $sum }}
@if($msg)
{{$msg2}}
@endif
@if($modal == true) Apply Discount
TOTAL : ₹{{$sum}}

After Discount : ₹{{$sum2}}

@endif @push('src') @endpush