@extends('admin.layout.master') @section('title',_('obs.journal').' '.__('obs.statement')) @section('custom_style') @endsection @section ('content')
| {{__('obs.voucher_no')}} | {{__('obs.reff_no')}} | {{__('obs.date')}} | {{__('obs.account_title')}} | {{__('obs.description')}} | {{__('obs.debit')}} | {{__('obs.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}} ({{strtoupper(getProductLine()[$reff->line])}}) @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){ if($jr->type==0){ $title.=''; //$jr->refTransaction; if($jr->refTransaction){ $ledger_name.=''.getNameLedgerName($jr->refTransaction,$jr->type).'{{$date}} | {!!$ledger_name!!} | {{$journalsEntry->first()->voucher->note}} | {!!$damountHtml!!} | {!!$amountHtml!!} | |
| {{__('obs.there_is_no_records_available')}} | {{__('obs.total_transaction')}} : | {{ number_format($amount,2) }} | {{ number_format($amount,2) }} | ||||