@extends('admin.layout.master') @section('home')
Bill List
{{--

--}} @php($i = 1) @foreach($result as $item) @endforeach
Sl Bill# Customer Sub Total Discount(Taka) Discount Service Charge Shipping Cost Orders Vat Payment Type Bill Status Status Action
{{$i++}} {{$item->id}} {{$item->customer_id > 0 ? $item->customer->name_eng:'Not Found '}} {{$item->sub_total}} {{$item->dis_taka}} {{$item->dis_per}} {{$item->service_charge}} {{$item->shipping_cost}} @if ($item->order_ids) @foreach($orders as $key=> $v_orders) @endforeach {{ implode(',', $arr) }} @else

Not Found

@endif
{{$item->vat}} @if($item->payment_type == 1)

Cash

@elseif ($item->payment_type == 2)

credit

@endif
@if($item->bill_status == 1)

Unpaid

@elseif ($item->bill_status == 2)

Paid

@endif
@if($item->status == 1)

Active

@elseif ($item->status == 2)

Inactive

@endif
@if(empty($item->isTransferToAccounts->id)) @endif
{{$result->links()}}
@include("restaurant.modal.ModalBill") @include("restaurant.shared.VatSettings"); @include("restaurant.modal.modalEditBillPayment") @endsection