@extends('admin.layout.master') @section('title','STORE TRANSFER MANAGEMENT') @section('custom_style') @endsection @section ('content')

{{__('obs.store')}} {{__('obs.transfer')}} {{__('obs.list')}}

{!!getDateInput('date_from','date_from',Request()->date_from)!!} {!!getDateInput('date_to','date_to',Request()->date_to)!!} {{-- --}} {{-- --}}

@forelse ($stocksToBeTransfered as $key=>$sttr) @php $type=get_class($sttr)=='App\Models\Inventory\StoreInvoice'?0:1; @endphp @empty @endforelse
# {{__('obs.trans')}}.{{__('obs.no')}} {{ __('obs.date') }} {{__('obs.note')}} {{__('obs.cost')}}.{{__('obs.Center')}} {{__('obs.from')}} {{__('obs.date_to')}} e{{__('obs.type')}} {{__('obs.status')}} {{__('obs.by')}} {{__('obs.action')}}
{{ ($key+1) }} {{ $sttr->invoice_no }} {{ date('d-M-Y H:i A',strtotime($sttr->date)) }} {{ $sttr->note }} {{ $sttr->costCenter?$sttr->costCenter->name:'N/A' }} {{ $sttr->transaction_type==10?$sttr->warehouse->name_eng:$sttr->transferedTo->name_eng }} {{ $sttr->transaction_type==10?$sttr->transferedTo->name_eng:$sttr->warehouse->name_eng }} {{ ($sttr->transaction_type==10?($sttr->approve_status==1?'To be In':'OUT'):'IN') }} {{ $sttr->approve_status==1? 'PENDING':'ACCEPTED' }} {{ $sttr->issuedBy? $sttr->issuedBy->name:'N/A' }} @if ($sttr->transfer_to == current_store() && $sttr->approve_status == 1) @endif @if ($sttr->warehouse_id == current_store()) @if(checkAuthPermission('store_transfer.update')) @endif @endif @if(checkAuthPermission('store_transfer.print')) @endif
@include('inventory.store_transfer.store_transfer_edit_modal') @include('inventory.store_transfer.store_transfer_edit_new_modal') @endsection @section('script') {{-- --}} {{-- @include('inventory.recipe.recipe_js') --}} @stop