@include('layouts.header_script')
Company Settings

Modules (Store)

@php $modules = collect([ (object)[ 'key' => 'accounts_module', 'name' => 'Accounts Module', 'default' => 2, 'col' => 'col', 'options' => [(object)['id' => 1,'name' => 'Enabled'], (object)['id' => 2,'name' => 'Disabled']] ], (object)[ 'key' => 'inventory_module', 'name' => 'Inventory Module', 'default' => 1, 'col' => 'col', 'options' => [(object)['id' => 1,'name' => 'Enabled'], (object)['id' => 2,'name' => 'Disabled']] ], (object)[ 'key' => 'hotel_module', 'name' => 'Hotel Module', 'default' => 2, 'col' => 'col', 'options' => [(object)['id' => 1,'name' => 'Enabled'], (object)['id' => 2,'name' => 'Disabled']] ], (object)[ 'key' => 'real_estate_module', 'name' => 'Real Estate Module', 'default' => 2, 'col' => 'col', 'options' => [(object)['id' => 1,'name' => 'Enabled'], (object)['id' => 2,'name' => 'Disabled']] ] ]); @endphp @foreach ($modules as $m) @include('settings.company_setting.content', ['data' => $m, 'info' => $info]) @endforeach

Inventory Settings (Store)

@php $inventory_settings = collect([ (object)[ 'key' => 'stock_check', 'name' => 'Stock Check (D)', 'default' => 2, 'col' => 'col-2', 'options' => [(object)['id' => 1,'name' => 'Yes'], (object)['id' => 2,'name' => 'No']] ], (object)[ 'key' => 'avg_calculation_method', 'name' => 'Average Calculation Method (D)', 'default' => 5, 'col' => 'col-2', 'options' => [(object)['id' => 5,'name' => 'Last Purchase Price'], (object)['id' => 1,'name' => 'Avg'], (object)['id' => 2,'name' => 'Lot (Comming Soon)'], (object)['id' => 3,'name' => 'LIFO (Comming Soon)'], (object)['id' => 4,'name' => 'FIFO (Comming Soon)']] ], (object)[ 'key' => 'serialized', 'name' => 'Serialized', 'default' => 2, 'col' => 'col-2', 'options' => [(object)['id' => 1,'name' => 'Yes'], (object)['id' => 2,'name' => 'No']] ], (object)[ 'key' => 'expireable', 'name' => 'Expireable', 'default' => 2, 'col' => 'col-2', 'options' => [(object)['id' => 1,'name' => 'Yes'], (object)['id' => 2,'name' => 'No']] ], (object)[ 'key' => 'multi_color', 'name' => 'Multi Color', 'default' => 2, 'col' => 'col-2', 'options' => [(object)['id' => 1,'name' => 'Yes'], (object)['id' => 2,'name' => 'No']] ], (object)[ 'key' => 'multi_size', 'name' => 'Multi Size', 'default' => 2, 'col' => 'col-2', 'options' => [(object)['id' => 1,'name' => 'Yes'], (object)['id' => 2,'name' => 'No']] ], (object)[ 'key' => 'multi_unit', 'name' => 'Multi Unit', 'default' => 2, 'col' => 'col-2', 'options' => [(object)['id' => 1,'name' => 'Yes'], (object)['id' => 2,'name' => 'No']] ], (object)[ 'key' => 'store_cash', 'name' => 'Store Cash', 'default' => 1, 'col' => 'col-2', 'options' => getAllCashBank() ], (object)[ 'key' => 'default_store', 'name' => 'Default Store (D)', 'default' => 1, 'col' => 'col-2', 'options' => [(object)['id' => 2,'name' => 'All/Warehouse'], (object)['id' => 1,'name' => 'Current Store']] ] ]); @endphp @foreach ($inventory_settings as $m) @include('settings.company_setting.content', ['data' => $m, 'info' => $info]) @endforeach

Inventory Feature (Warehouse)

@php $inventory_features_arr = [ '1' => 'Purchase', '2' => 'Purchase Return', '3' => 'Sell', '4' => 'Sell Return', '5' => 'Issue', '6' => 'Issue Return', '7' => 'Transfer', '8' => 'Receive', '9' => 'Adjustment In', '10' => 'Adjustment Out', '11' => 'Production', '12' => 'Damage', '13' => 'Opening Stock', '14' => 'Order' ]; $pre_inv_features = isset($info_w->inv_features) ? explode(',', $info_w->inv_features) : []; @endphp
@foreach ($inventory_features_arr as $key => $name)
@endforeach

Accounts Features (Warehouse)

@php $acc_voucher_type = ['1' => 'Receive Voucher', '2' => 'Payment Voucher', '3' => 'Contra Voucher', '4' => 'Journal Voucher']; $pre_acc_features = isset($info_w->acc_features) ? explode(',', $info_w->acc_features) : []; @endphp
@foreach ($acc_voucher_type as $key => $name)
@endforeach
@include('layouts.footer_script')