@extends('master.app') @section('title', 'customer') @section('body')
Summary
  • Supplier {{ $supplier->name }}
  • Bill Number {{ $bill->invoice_number }}
  • Invoice Date {{ $bill->invoice_date }}
  • Payment By {{ $bill->payment_by }}
  • Payment Type @if ($bill->transaction_id == 1) {{ 'By Cash' }} @elseif($bill->transaction_id == 2) {{ 'By Bank' }} @else {{ 'Sharafi' }} @endif
  • Total QTY {{ $bill_items->sum('quantity') }}
  • Total amount
    {{ $bill->grand_total . ' ' . $bill->currency->title_en }}
  • Payment
    {{ $bill->payment . ' ' . $bill->currency->title_en }}
  • Belance
    {{ $bill->balance . ' ' . $bill->currency->title_en }}
  • Exchange Rate
    {{ $bill->ex_rate }}

Items

@foreach ($bill_items as $row) @endforeach
# Category Unit QTY Price Total
{{ $loop->iteration }} {{ $row->category->title_en }} {{ $row->unit->title_en }} {{ $row->qty }} {{ $row->spi }} {{ $row->total }}
@include('purchase.suppliers.bills.bill-modal') @endsection @section('pageJs') @endsection