@extends('Admin.master_layout.master') @section('title', getTitleInPage()) @section('header_menu') @parent @endsection @section('sidebar_menu') @parent @endsection @section('content')

{{ getTitleInPage() }} - View


@if (Session::has('message'))
{!! Session::get('message') !!}
@endif @if (Session::has('error'))
{!! Session::get('error') !!}
@endif @if (Session::has('success'))
{!! Session::get('success') !!}
@endif
{{ getTitleInPage() }} - View
@if($dop_slug == 'cash-bill-paid') @endif

{{ $transaction_type->name }}

Amount : {{ $order->amount }}
Date Of Expense : {{ changeDateFormate($order->date) }}
Supplier Name : {{ getpettyCashSuppliersId($order->petty_cash_suppliers_id) }}
Payment Mode : {{ getPaymentModeMerchantName($order->payment_mode) }}

@if($dop_slug == 'cash-bill-paid') @endif @if(count($OrderItems) > 0) @foreach($OrderItems as $key => $item) @if($dop_slug == 'cash-bill-paid') @endif @endforeach @endif
ItemBill No Bill DateDr A/c Head Cr A/c Head Amount Attach Files
{{ getItemMerchantListTitle($item['item_id'],$ho_id) }} @if($order->bill_no != null) {{ $order->bill_no }} @else {{ $item['bill_no'] }} @endif {{ changeDateFormate($order->date) }} @if($item['dr_type'] == 'account_group_head') {{ str_replace('Branch', getMechantShortCode($order->auto_mer_id).'-'.getBranchCode($order->auto_mer_id), getAccountHeadByIdMerchant($item['dr_account_head']))}} @elseif($item['dr_type'] == 'agent_rahebar') {{ getRahebarName($item['dr_account_head']) }} @else {{ str_replace('Branch', getMechantShortCode($order->auto_mer_id).'-'.getBranchCode($order->auto_mer_id), getAccountHeadByIdMerchant($item['dr_account_head']))}} @endif @if($item['cr_type'] == 'account_group_head') {{ str_replace('Branch', getMechantShortCode($order->auto_mer_id).'-'.getBranchCode($order->auto_mer_id), getAccountHeadByIdMerchant($item['cr_account_head']))}} @elseif($item['cr_type'] == 'agent_rahebar') {{ getRahebarName($item['cr_account_head']) }} @else {{ str_replace('Branch', getMechantShortCode($order->auto_mer_id).'-'.getBranchCode($order->auto_mer_id), getAccountHeadByIdMerchant($item['cr_account_head']))}} @endif {{ $item['amount'] }} @if($item['invoice_file'] != null) @if($key == 0) @else @endif @endif

@if(!empty($OrderItems) && $OrderItems[0]['invoice_file'] !== null) @php $fileType = explode('/',$OrderItems[0]['mime_type']); $file_type = 'file'; if(isset($fileType[0]) && $fileType[0] == 'image'){ $file_type = 'img'; } @endphp @if($file_type == 'img') @else @endif @endif


status_slug != 'checked') action="{{ url('cash-book/store') }}" method="post" @endif class="form-horizontal" enctype="multipart/form-data"> @if($order->remark_maker != '' || $order->remark_maker != 0) @endif

Status*:

Clarification :

Remarks*:

@if(!empty($previous)) Previous @endif @if($order->status_slug != 'approved') @if(!empty($next)) @endif @endif Cancel @if(!empty($next)) Next @endif
@endsection @section('footer') @parent @endsection @section('extraa_script_and_js') @parent @endsection