@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($order->parent_merchant_id != null) @endif @if(Auth::user()->agent_type_slug == 'maker') @endif

@if(getDOPMerchantName($order->reason_list_id) != ''){{ getDOPMerchantName($order->reason_list_id) }} @else {{ $transaction_type->name }} @endif

{{ $lable_amount }} : {{ $order->amount }}
{{ $lable_date }} : {{ changeDateFormate($order->date) }}
Dr A/c Head : {{ $dr_account_head_name }}
Cr A/c Head : {{ $cr_account_head_name }}
Payment Mode : {{ getPaymentModeName($order->payment_mode) }}
Branch Type : {{ checkHOParentSubBranch($order->auto_mer_id)}} Branch
Parent Branch : {{ str_replace('Branch', getMechantShortCode($order->merchant_id).'-'.getBranchCode($order->merchant_id), getAccountHeadByIdMerchant(1500))}}
Clarification : {{$order->remark_maker}}
Remarks : {{$order->remark}}

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

@endif @endif
{{-- --}} @if(Auth::user()->agent_type_slug == 'maker' && ($order->status_slug == 'draft' || $order->status_slug == 'pending'|| $order->status_slug == 'needs-clarity')) @if($order->transfer_status == 'Payment') Edit @elseif($order->transfer_status == 'Receive') Edit @else Edit @endif @endif
@if(!empty($order) && $order->invoice_file !== null) @php $fileType = explode('/',$order->mime_type); $file_type = 'file'; if(isset($fileType[0]) && $fileType[0] == 'image'){ $file_type = 'img'; } @endphp @if($file_type == 'img')
@else @endif @endif


@if(Auth::user()->agent_type_slug != 'maker') @if($order->remark_maker != '' || $order->remark_maker != 0) @endif @endif

Status*:

@if(checkCheckedToNCLimit($order->auto_mer_id) != '' && checkCheckedToNCLimit($order->auto_mer_id) <= $order->date) @else @endif

Clarification :

Remarks*:

@if(checkCheckedToNCLimit($order->auto_mer_id) != '' && checkCheckedToNCLimit($order->auto_mer_id) <= $order->date) @else @endif
@if(Auth::user()->agent_type_slug == 'maker') Cancel @else @if($view_url != 'instruction') @if(!empty($previous)) Previous @endif @if(checkCheckedToNCLimit($order->auto_mer_id) != '' && checkCheckedToNCLimit($order->auto_mer_id) <= $order->date) @else @if($order->status_slug != 'approved') @endif @endif @if(!empty($next) && $order->status_slug != 'approved') @endif Cancel @if(!empty($next) && $order->status_slug == 'approved') Next @endif @else Cancel @endif @endif
@endsection @section('footer') @parent @endsection @section('extraa_script_and_js') @parent @endsection