Sales
This is an example dashboard created using build-in elements and components.
1
Select Item
@if(!empty($items)) @foreach($items as $item)
{{$item->name}}
@endforeach @endif
@csrf
Invoice Information
Invoice #
Invoice Date
Customer
Select Customer
@if(!empty($customers)) @foreach($customers as $customer)
customer_id == $customer->id) ? 'Selected' : '' : ''}}> {{$customer->name}}
@endforeach @endif
Cash Entry:
cash_entry ? 'checked' : '' }}>
@if(isset($sale)) @if(!empty(unserialize($sale->items_detail))) @php $i=1; @endphp @foreach(unserialize($sale->items_detail) as $invoiceItem) @php $i++; @endphp @endforeach @endif @endif
#
Items
Price
Custom Rate
PCS
Quantity
Total Amount
{{$i}}
@if(!empty($items)) @foreach($items as $item)
id == $invoiceItem['item_id']) ? 'Selected' : '' : ''}}> {{$item->name}}
@endforeach @endif
Notes
{{(isset($sale)) ? $sale->note : ''}}
Net Qty
Net PCS
Gross Amount
Discount
Net Custom Rate
Net Total