@extends('admin.layout.master') @section('title','JOURNAL Report') @section('custom_style') @endsection @section ('content')
| Voucher NO | Reff NO | Date | Account Title | Description | Debit | Credit | |
|---|---|---|---|---|---|---|---|
| {{$journalsEntry->first()->voucher->voucher_no}} | @php $reff=$journalsEntry->first()->voucher->reffInvoice??$journalsEntry->first()->voucher->reffFgInvoice; $printUrlArray=['','purchase-print?id=','purchase-print?id=','sell-print?id=','sell-print?id=','adjustment-print?id=','adjustment-print?id=','adjustment-print?id=','issue-print?id=','issue-print?id=','store_transfer-print?model=0&store_invoice_id=', 'store_transfer-print?model=1&store_invoice_id=', 'production-print?id=', 'opening-print?id=','','','adjustment-print?id=', 'purchase-contract-print?id=', 'sales-contract-print?id=']; @endphp@if($reff) {{$reff->invoice_no}} @endif | @php $time=strtotime($journalsEntry->first()->voucher->date); $date=date("d-M-Y",$time); $ledger_name=''; $damountHtml=''; $amountHtml=''; $title=''; foreach($journalsEntry->sortBy('group_type')->groupBy('group_type') as $journalsEntryGroup){ foreach($journalsEntryGroup as $jr){ $ledger_name.=($jr->type==1?' ':'').($jr->globalLedger ? $jr->globalLedger->name:''); if($jr->voucher->reffParentVoucher){ $ledger_name.=' [ '.getNameLedgerName($jr->voucher->reffParentVoucher,$jr->type,$jr->reff_jr_id).']{{$date}} | {!!$ledger_name!!} | {{$journalsEntry->first()->voucher->note}}@if(Request()->check) {{$title}}@endif |
{!!$damountHtml!!} | {!!$amountHtml!!} | |
| There is no records available | Total Transaction : | {{ number_format($amount,2) }} | {{ number_format($amount,2) }} | ||||