@extends('master.app') @section('title', 'customer') @section('body')
Summary
Print
  • Customer Name {{ $bill->customer_name }}
  • Customer Phone {{ $bill->customer_phone }}
  • Invoice Number {{ $bill->invoice_number }}
  • Invoice Date {{ $bill->invoice_date }}
  • Recived By {{ $bill->received_by }}
  • Total Items {{ $bill_items->sum('qty') }}
  • Garand Total
    {{ $bill->currency->title_en . ' ' . $bill->grand_total }}
  • Discount
    {{ $bill->currency->title_en . ' ' . $bill->discount }}
  • Total
    {{ $bill->currency->title_en . ' ' . $bill->final_amount }}
  • Recieved
    {{ $bill->currency->title_en . ' ' . $bill->received }}
  • Balance
    {{ $bill->currency->title_en }} {{ $bill->final_amount - $bill->received }}
@if($bill->type_id==1)
Items @foreach ($bill_items as $row) @endforeach
# Cat Sub/Cat Weight Unit QTY Price Total
{{ $loop->iteration }} {{ $row->category->title_en }} {{ $row->sub_category->title_en }} {{ $row->weight->title_en }} {{ $row->unit->title_en }} {{ $row->qty }} {{ $row->sale_price }} {{ $row->total }}
@else
Items @foreach ($bill_items as $row) @endforeach
# Item Price Qty Total
{{ $loop->iteration }} {{ $row->name }} {{ $row->price }} {{ $row->qty }} {{ $row->total }}
@endif
@endsection @section('pageJs') @endsection