![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/ledger.corals.io/Corals/modules/Ledger/resources/views/records/ |
<h4>{!!$record->present('account')!!}</h4> <p> {!! $record->notes !!} </p> <div class="row mt-3"> <div class="col-md-4"> <div class="table-responsive"> <table class="table table-striped"> <tbody> <tr> <td>@lang(trans('Ledger::attributes.record.record_date'))</td> <th>{{ $record->present('record_date') }}</th> </tr> <tr> <td>@lang(trans('Ledger::attributes.record.amount'))</td> <th>{{ $record->present('amount') }}</th> </tr> <tr> <td>@lang(trans('Ledger::attributes.record.type'))</td> <th>{!! $record->present('type') !!}</th> </tr> <tr> <td>@lang(trans('Ledger::attributes.record.payment_method'))</td> <th>{{ $record->present('payment_method') }}</th> </tr> </tbody> </table> @if($record->payment_method =='cheque') <table class="table"> <tr> <td>@lang('Ledger::labels.cheque.cheque_number')</td> <td>{{ $record->getProperty('cheque_number') }}</td> </tr> <tr> <td>@lang('Ledger::labels.cheque.cheque_name')</td> <td>{{ $record->getProperty('cheque_name') }}</td> </tr> <tr> <td>@lang('Ledger::labels.cheque.cheque_date')</td> <td>{{ $record->getProperty('cheque_date') }}</td> </tr> </table> @endif </div> </div> <div class="col-md-8"> <div class="table-responsive"> <table class="table color-table dark-table table table-hover table-striped table-condensed"> <thead> <tr> <th>@lang(trans('Ledger::attributes.record.item'))</th> <th>@lang(trans('Ledger::attributes.record.price'))</th> <th>@lang(trans('Ledger::attributes.record.quantity'))</th> <th>@lang(trans('Ledger::attributes.record.amount'))</th> <th>@lang(trans('Ledger::attributes.record.notes'))</th> </tr> </thead> <tbody> @forelse($record->items as $item) <tr> <td>{{$item->item->name}}</td> <td>{{$item->price}}</td> <td>{{$item->quantity}}</td> <td>{{$item->amount}}</td> <td>{{$item->notes}}</td> </tr> @empty <tr> <td colspan="5" class="text-center"> @lang('Ledger::labels.no_data') </td> </tr> @endforelse </tbody> </table> </div> </div> </div>