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

{{ getTitleInPage() }}


@if (Session::has('message'))
{!! Session::get('message') !!}
@endif @if (Session::has('error'))
{!! Session::get('error') !!}
@endif @if (Session::has('success'))
{!! Session::get('success') !!}
@endif @if($errorMessage != '')
{{ $errorMessage }}
@endif
@if(Auth::user()->admin_role_id == 1)
@else @if(getMechantIds() && count(getMechantIds()) > 1 )
@if($maker_user > 0)
@endif @endif @endif @if($maker_user > 0 && count($parent_merchant) > 0)
@endif

Day Op bal: {{ $opening_net_balance }}

Day total: {{ $day_total }}

Day cl bal: {{ $closing_net_balance }}

Date: {{ $day_book_date }}

@if($previous > 0) Previous @endif @if($isShow == 1) @endif @if($next > 0 && $is_checker_close_day == 1) Next @endif
{{ getTitleInPage() }} - List
@if(count($orders) > 0) @foreach($orders as $data) @endforeach @endif
No. Date Branch Name Transaction Type Opening Dr Cr Closing Transaction Status Actions
{{ $no++ }} {{ changeDateFormate($data->date) }} {{ getMechantName($data->auto_mer_id) }} {{ getTransactionType($data->transaction_type)->name }} ( {{ getTransactionType($data->transaction_type)->slug }}) @if($data->transaction_type_slug == 'CexpWB' || $data->transaction_type_slug == 'CexpPV' || $data->transaction_type_slug == 'CDB' || $data->transaction_type_slug == 'Ctfr-IB' && $data->cashinout == 'out') {{ $data->bill_book_balance+$data->amount }} @else @if($data->bill_book_balance == 0) @else {{ $data->bill_book_balance-$data->amount }} @endif @endif @if($data->transaction_type_slug == 'CexpWB' || $data->transaction_type_slug == 'CexpPV' || $data->transaction_type_slug == 'CDB' || $data->transaction_type_slug == 'Ctfr-IB' && $data->cashinout == 'out') @else {{ $data->amount }} @endif @if($data->transaction_type_slug == 'CexpWB' || $data->transaction_type_slug == 'CexpPV' || $data->transaction_type_slug == 'CDB' || $data->transaction_type_slug == 'Ctfr-IB' && $data->cashinout == 'out') {{ $data->amount }} @endif @if($data->bill_book_balance !== null){{ $data->bill_book_balance }}@else 0 @endif {{ getMerchantTransactionStatusNamebySlug($data->status_slug,$data->ho_id) }} @if (!array_intersect($role_id, $makerRole) && $data->transaction_type_slug != 'Ctfr-IB') View @endif @if (array_intersect($role_id, $makerRole) && ($data->status == 10 || $data->status == 4 || $data->status == 7)) @endif
@endsection @section('footer') @parent @endsection @section('extraa_script_and_js') @parent @endsection