{{-- @if(session()->get('title') == "success")--}}
{{--
--}}
{{--
Success
--}}
{{--
--}}
{{-- {{ session()->get('message') }}--}}
{{--
--}}
{{--
--}}
{{-- @elseif (session()->get('title') == "error")--}}
{{--
--}}
{{--
Error
--}}
{{--
--}}
{{-- {{ session()->get('message') }}--}}
{{--
--}}
{{--
--}}
{{-- @elseif($errors->any())--}}
{{--
--}}
{{--
Error
--}}
{{-- @foreach ($errors->all() as $error)--}}
{{--
{{ $error }}
--}}
{{-- @endforeach--}}
{{--
--}}
{{-- @endif--}}
@if($data->isNotEmpty())
{{__('messages.REFERENCE')}} |
{{__('messages.PurchasingReference')}} |
{{__('messages.Warehouse')}} |
{{__('messages.Supplier')}} |
{{__('messages.COST')}} |
{{__('messages.VAT')}} |
{{__('messages.TotalAmount')}} ({{Auth::user()->business->currency->symbol}}) |
{{__('messages.PurchaseType')}} |
{{__('messages.CreatedBy')}} |
{{__('messages.created_at')}} |
@foreach($data as $task)
{{ $task->reference }} |
{{ $task->pr_reference }} |
{{ $task->poWarehouse->name }} |
{{ $task->poSupplier->name }} |
{{ $task->cost }} |
{{ $task->tax }} |
{{ $task->total }} |
{{ $task->poType->name }} |
{{ $task->users->name}} |
{{ $task->created_at}} |
@endforeach
{{__('messages.total')}} |
{{ $data->sum('cost') }} |
{{ $data->sum('tax') }} |
{{ $data->sum('total') }} |
@else
No Data Found! Adjust the date & filters in the report to get more specific results.
@endif