@extends('layouts.app') @section('stitle', __('messages.PRReport')) @section('title', __('messages.PRReport')) @section('content')
@if(session()->get('title') == "success") @elseif (session()->get('title') == "error") @endif
@if($from != null && $to!=null)

{{__('messages.FromDate')}}

{{__('messages.ToDate')}}

@else

{{__('messages.CurrentDate')}}

@endif

Supplier

@if($supplier =='all_suppliers') @else @endif

{{__('messages.TYPE')}}

@if($type=='1') @elseif($type=='2') @else @endif
{{--

Table Hover Animation

--}}
{{-- --}} @foreach($data as $task) {{-- --}} @endforeach
{{__('messages.BusinessName')}}{{__('messages.REFERENCE')}} {{__('messages.Supplier')}} {{__('messages.Warehouse')}} {{__('messages.COST')}} {{__('messages.VAT')}} {{__('messages.TotalAmount')}} ({{Auth::user()->business->currency->symbol}}) {{__('messages.TYPE')}} {{__('messages.STATUS')}} {{__('messages.CreatedBy')}}
{{$task->business->business_name}}{{ $task->reference }} {{ $task->suppliers->name }} {{ $task->warehouse->name }} {{ $task->cost }} {{ $task->tax }} {{ $task->total }} {{ $task->purchaseType->name }} {{ $task->status }} {{ $task->user->name}}
@endsection @push('my_scripts') @endpush