@extends('layout.app') @section('content')

Purchase Add

@csrf @method('put')
@error('invoice_no')
{{ $message }}
@enderror
@php $isS3 = checkSettings('store_image_to_s3') === 'enable'; $imgUrl = $isS3 ? $purchase->document // assume full URL from S3 : (!empty($purchase->document) ? asset('storage/bandPurchase/' . $purchase->document) : null); @endphp @if ($imgUrl) No Image @else
Image Not Provided
@endif
@php $service = App\Models\BandService::all(); @endphp

Note: By changing Billing Date all data will be reset

@foreach ($purchase->purchaseItem as $item) @endforeach
Service From Date To Date Quantity(MB) Rate(TK) Vat(%) Value(Line Total) Action
{{ $item->service->name ?? '' }}
Sub Total
Paid (The paid amount will not be better than the total amount)
Due
@endsection @section('ajax') @endsection