@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(!getMechantIds()) @if(count($enterprise) > 0)
@endif @endif @if(!getMechantIds())
@endif
{{ getTitleInPage() }} - List
@if(checkPermissionOnWeb('MerchantBooks','add') > 0) Add @endif
@foreach($OrderBook as $datas) @endforeach
No. Merchant Name Book Type Book Name Is Ledger Update? Allow Negative Balance Allow Day Close Status Actions
{{ $i }} {{ getMerchantNameById($datas['merchant_id']) }} {{ getMerchantBookTypeName($datas['book_type_id']) }} {{ $datas['name'] }} @if($datas['is_ledger_update'] == 1) Yes @else No @endif @if($datas['is_allow_negative_balance'] == 1) Yes @else No @endif @if($datas['is_allow_day_close'] == 1) Yes @else No @endif {{ ($datas['status'] == 0 )? 'Inactive':'Active'}} @if(checkPermissionOnWeb('MerchantBooks','edit') > 0) @endif @if(checkPermissionOnWeb('MerchantBooks','delete') > 0) @endif
@endsection @section('footer') @parent @endsection @section('extraa_script_and_js') @parent @endsection