@if(session()->get('title') == "success")
Success
{{ session()->get('message') }}
@elseif (session()->get('title') == "error")
Error
{{ session()->get('message') }}
@endif
{{-- --}}
{{__('messages.REFERENCE')}} |
{{__('messages.Suppliers')}} |
{{__('messages.Destination')}} |
{{__('messages.COST')}} |
{{__('messages.VAT%')}} |
{{__('messages.Total')}} ({{ Auth::user()->business->currency->symbol }}) |
{{__('messages.TYPE')}} |
{{__('messages.STATUS')}} |
{{__('messages.CREATED')}} |
{{__('messages.ACTIONS')}} |
@foreach($data as $purchase)
{{ $purchase->reference }} |
{{ $purchase->suppliers->name }} |
{{ $purchase->warehouse->name }} |
{{ $purchase->cost }} |
{{ $purchase->tax }} |
{{ $purchase->total }} |
{{ $purchase->purchaseType->name }} |
{{ $purchase->status }} |
{{ convertFromUTC($purchase->created_at, Auth::user()->business_id)}} |
@if($purchase->status == 'pending' || $purchase->status == 'return_to_correction')
@elseif ($purchase->status == 'approved')
@endif
|
@endforeach