@extends('layouts.app') @section('content')
HOME
Purchases List
New Purchases
?
New Purchase
Supplier *
Add New Supplier
@foreach($suppliers as $supplier)
{{$supplier->fname}} {{$supplier->lname}},{{$supplier->business_name}}
@endforeach
Purchase Date*
Due Date*
Reference / PO Number
Supplier Address
Items*
Ledger Account*
Expiry Date*
Buying Unit
Qty in Buying Unit
Price/Qty in Buying Unit*
Qty*
Gross Qty
Selling Unit
VAT
VAT Amount
Total
@php $standard = "Standard Products"; $variant = "Variant Products"; $ingredient = "Ingredients"; $s = $v = $i = 0; @endphp
@foreach($products as $item) @if($item->product_type == 1) @if($s == 0)
{{$standard}}
@endif
{{$item->name}}
@php ($s++) @endif @if($item->product_type == 2 && $item->parent_product_uuid != null) @if($v == 0)
{{$variant}}
@endif
{{$item->name}}
@php ($v++) @endif @if($item->product_type == 10) @if($i == 0)
{{$ingredient}}
@endif
{{$item->name}}
@php ($i++) @endif @endforeach
@foreach($ledger_accounts as $key => $value)
{{$value}}
@endforeach
@foreach($buying_unit as $key => $value)
{{$value}}
@endforeach
@foreach($buying_unit as $key => $value)
{{$value}}
@endforeach
@foreach($taxes as $item)
{{$item["tax_name"]}}
"; @endforeach
{{number_format(0,$float_number)}}
{{number_format(0,$float_number)}}
Subtotal
0.00
Discount
Amount:
%
Total Tax
0.00
Adjustment on Tax
Total
0.00
@php ($get_permission = permission('purchase','full-permission')) @if($get_permission)
Save
@endif
Cancel
Save
Save & Add New
Save & Payment
Save & Download
×
Upload Photo
@endsection @section('admin_css')
@stop @section('admin_js') @include('admin.js.purchase-create') @stop