@extends('layouts.app') @section('stitle', __('messages.PurchaseRequisitionSTitle')) @section('title', __('messages.PurchaseRequisitionSTitle')) @section('content')
@if(session()->get('title') == "success") @elseif (session()->get('title') == "error") @endif
@include('purchase_requisition.pr_menu')
{{--

Table Hover Animation

--}}
@foreach($data as $purchase) @endforeach
{{__('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')}}
{{ $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
{{-- --}} @endsection