@if(session()->get('title') == "success")
Success
{{ session()->get('message') }}
@elseif (session()->get('title') == "error")
Error
{{ session()->get('message') }}
@endif
{{-- --}}
{{__('messages.REFERENCE')}} |
{{__('messages.Supplier')}} |
{{__('messages.Destination')}} |
{{__('messages.COST')}} |
{{__('messages.VAT')}} |
{{__('messages.Total')}} ( {{ Auth::user()->business->currency->symbol ?? 'not set' }} ) |
{{__('messages.TYPE')}} |
{{__('messages.STATUS')}} |
{{__('messages.CREATED')}} |
{{__('messages.ACTIONS')}} |
@foreach($data as $purchase)
{{ $purchase->reference }} |
{{ $purchase->poSupplier->name }} |
{{ $purchase->poWarehouse->name }} |
{{ $purchase->cost }} |
{{ $purchase->tax }} |
{{ $purchase->total }} |
{{ $purchase->poType->name }} |
{{ $purchase->status }} |
{{ convertFromUTC($purchase->created_at, Auth::user()->business_id)}} |
@if ($purchase->status == 'approved' || $purchase->status == 'partial_received')
@elseif ($purchase->status == 'received')
@endif
|
@endforeach