@extends('layouts.app') @section('main-content')

Edit Invoice

Invoice [@php echo str_pad($invoice->invoice_no, 5, '0', STR_PAD_LEFT) @endphp]
Add Gas Flushing
@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('patch')
Add item
@forelse($items as $item) @empty @endforelse @if(!empty($invoice->var_rate)) @endif @if(!empty($invoice->flushing)) @php $i++ @endphp @endif @if(!empty($invoice->labour)) @else @endif
# Product Name UoM Qty Unit Price Amount Action
1 {{ $item->product->name }} {{ $item->item_uom->description }}
2 Refill gas 134a + vaccum C.F Internal Oil Compressor Lot
2 Flushing System Lot
DiscountRM
Grand TotalRM
@endsection @section('script') @endsection