@extends('admin.layout.master') @section('title','TRANSFER MANAGEMENT') @section('custom_style') @endsection @section ('content')
@include('admin.layout.title_header', ['title'=>'TRANSFER HISTORY']) {{--

--}}
{{--
--}}
{{-- --}} @php $tAmount=0; $types=['','cash_payment_vouchers','bank_payment_vouchers','cash_receive_vouchers','bank_receive_vouchers','journal_vouchers']; @endphp @forelse ($vouchers as $key=>$voucher) @php $tAmount+=$voucher->transaction_amount; @endphp {{-- --}} @empty @endforelse {{-- --}}
{{__('obs.transfer_history')}}
@if(Request()->list_type==1)
{{-- --}}
@endif
{{__('obs.sl')}} {{__('obs.date')}} {{__('obs.voucher_no')}} {{__('obs.type')}} {{__('obs.store')}} {{__('obs.details')}} {{__('obs.notes')}} {{__('obs.amount')}}ACTION
{{($key+1)}} {{ date('Y-M-d', strtotime($voucher->date))}} {{ $voucher->voucher_no }} {{ strtoupper(str_replace('_',' ',$types[$voucher->type]))}} {{ $voucher->warehouse->name_eng??'.'}} @forelse($voucher->journalsGlobal as $jcb) @if($jcb->cashBank) {{$jcb->cashBank->name_eng.' : '.$jcb->amount}}
@endif @empty @endforelse
{{ $voucher->note}} {{ number_format($voucher->transaction_amount,2)}} --}} {{-- @if(checkAuthPermission('voucher.voucher_details')) @endif @if(checkAuthPermission('voucher.voucher_edit') && count($voucher->reffChildVoucher)) @endif @if(checkAuthPermission('voucher.voucher_posting_edit')) @endif @if(checkAuthPermission('voucher.journal_voucher_update') && ($voucher->reffParentVoucher==null)) @endif --}} {{-- @if($voucher->approved_status==0)
@else @endif
{{__('obs.total_transaction_amount')}} {{number_format($tAmount,2)}}
{{-- --}}
@endsection @section('script') @stop