Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
25 kB
1
Indexable
Never
{!! renderNavPill([
    [
        'name' => 'Customer',
        'model' => 'div_data',
        'div_divide' => 13,
        'href' => '#customer',
        'data' => [
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'code', __('master_data_general_customer')['col_code'], $master_data_general_customer['code'] ?? '', $mode, 'required readonly placeholder="Auto Generated"'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'name', __('master_data_general_customer')['col_name'], $master_data_general_customer['name'] ?? '', $mode, 'required'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'contact_name', __('master_data_general_customer')['col_contact_name'], $master_data_general_customer['contact_name'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'delivery_address_1', __('master_data_general_customer')['col_delivery_address_1'], $master_data_general_customer['delivery_address_1'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'delivery_address_2', __('master_data_general_customer')['col_delivery_address_2'], $master_data_general_customer['delivery_address_2'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'delivery_street', __('master_data_general_customer')['col_delivery_street'], $master_data_general_customer['delivery_street'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'delivery_zip_code', __('master_data_general_customer')['col_delivery_zip_code'], $master_data_general_customer['delivery_zip_code'] ?? '', $mode, ''),
            renderBrowserInput('mb-3 row', 'form-control', 'browse_delivery_city_name', '', __('master_data_general_customer')['col_delivery_city'], $master_data_general_customer['delivery_city_name'] ?? '', $mode, '', 'getCity', ["cities.code|like","cities.name|like"], [], array('browse_delivery_city_id|id','browse_delivery_city_name|name',), ['code','name','province_name'], 'city', ['Code','Name','Province'], [['field'=>'code', 'name' => 'cities.code'], ['field'=>'name', 'name' => 'cities.name'], ['field'=>'province_name', 'name' => 'provinces.name']], title_modal: 'Delivery City', filter:array('cities.is_active' => 'true')),
            renderInput ('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'hidden', 'delivery_city_id', '', $master_data_general_customer['delivery_city_id'] ?? '', 'add', 'readonly', 'browse_delivery_city_id'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'phone', __('master_data_general_customer')['col_phone'], $master_data_general_customer['phone'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'fax', __('master_data_general_customer')['col_fax'], $master_data_general_customer['fax'] ?? '', $mode, ''),
            renderCheckboxWithLabelOnTheLeft('mb-3 row', 'col-6 col-lg-4 col-form-label', 'col-6 col-lg-8', 'col-lg-4', 'is_block_status', __('master_data_general_customer')['col_is_block_status'], $mode, '', 'is_block_status', $mode !== 'add' ? $master_data_general_customer['is_block_status'] == true ? 'checked' : '' : ''),
            renderTextArea('mb-4 row', __('master_data_general_customer')['col_remark'], 'remark_customer', 5, $master_data_general_customer['remark_customer'] ?? '', $mode, ''),

            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'customer_geotreearea_code', __('master_data_general_customer')['col_customer_geotreearea_code'], $master_data_general_customer['customer_geotreearea_code'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'geographical_x', __('master_data_general_customer')['col_geographical_x'], $master_data_general_customer['geographical_x'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'geographical_y', __('master_data_general_customer')['col_geographical_y'], $master_data_general_customer['geographical_y'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'invoice_address_1', __('master_data_general_customer')['col_invoice_address_1'], $master_data_general_customer['invoice_address_1'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'invoice_address_2', __('master_data_general_customer')['col_invoice_address_2'], $master_data_general_customer['invoice_address_2'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'invoice_street', __('master_data_general_customer')['col_invoice_street'], $master_data_general_customer['invoice_street'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'invoice_zip_code', __('master_data_general_customer')['col_invoice_zip_code'], $master_data_general_customer['invoice_zip_code'] ?? '', $mode, ''),
            renderBrowserInput('mb-3 row', 'form-control', 'browse_invoice_city_name', '', __('master_data_general_customer')['col_invoice_city'], $master_data_general_customer['invoice_city_name'] ?? '', $mode, '', 'getCity', ["cities.code|like","cities.name|like"], [], array('browse_invoice_city_id|id','browse_invoice_city_name|name',), ['code','name','province_name'], 'city', ['Code','Name','Province'], [['field'=>'code', 'name' => 'cities.code'], ['field'=>'name', 'name' => 'cities.name'], ['field'=>'province_name', 'name' => 'provinces.name']], title_modal: 'Invoice City', filter:array('cities.is_active' => 'true')),
            renderInput ('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'hidden', 'invoice_city_id', '', $master_data_general_customer['invoice_city_id'] ?? '', 'add', 'readonly', 'browse_invoice_city_id'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'territory_code', __('master_data_general_customer')['col_territory_code'], $master_data_general_customer['territory_code'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'isms_filename_id', __('master_data_general_customer')['col_isms_filename_id'], $master_data_general_customer['isms_filename_id'] ?? '', $mode, ''),
            renderBrowserInput('mb-3 row', 'form-control', 'browse_country_name', '', __('master_data_general_customer')['col_country'], $master_data_general_customer['country_name'] ?? '', $mode, '', 'getCountry', ["countries.code|like","countries.name|like"], [], array('browse_country_id|id','browse_country_name|name',), ['code','name'], 'country', ['Code','Name'], [['field'=>'code', 'name' => 'countries.code'], ['field'=>'name', 'name' => 'countries.name']], title_modal: 'Country', filter:array('countries.is_active' => 'true')),
            renderInput ('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'hidden', 'country_id', '', $master_data_general_customer['country_id'] ?? '', 'add', 'readonly', 'browse_country_id'),
            renderSelect('mb-3 row', 'col-sm-4 mt-2', 'col-sm-8 mt-2 mt-sm-0', 'is_active', __('master_data_general_customer')['col_is_active'], 'js-data-example-ajax w-100 form-control mb-3', $master_data_general_customer['is_active'] ?? '', $selectActive ?? [], $mode),
        ]
    ],
    [
        'name' => 'Sales',
        'model' => 'div_data',
        'div_divide' => 19,
        'href' => '#sales',
        'data' => [
            renderBrowserInput('mb-3 row', 'form-control', 'browse_salesman_name', '', __('master_data_general_customer')['col_salesman'], $master_data_general_customer['salesman_name'] ?? '', $mode, '', 'getWarehouseParent', 
            ["tp.top_parent_code|like","w.name|like","w.address|like","cities.name|like"], [], 
            array(
                'browse_salesman_id|id',
                'browse_salesman_name|name',
                'browse_salesman_plant_code|top_parent_code',
            ), ['top_parent_code','name'], 
            'warehouse', 
            ['Top Parent Code','Name'], 
            [
                ['field'=>'top_parent_code', 'name' => 'tp.top_parent_code'],
                ['field'=>'name', 'name' => 'w.name'],
          
            ],title_modal: 'Salesman', filter:array('w.type' => 'SALESMAN', 'w.is_active' => 'true')),
            renderInput ('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'hidden', 'salesman_id', '', $master_data_general_customer['salesman_id'] ?? '', 'add', 'readonly', 'browse_salesman_id'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'type', __('master_data_general_customer')['col_type'], $master_data_general_customer['type'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'trade_category', __('master_data_general_customer')['col_trade_category'], $master_data_general_customer['trade_category'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'customer_status', __('master_data_general_customer')['col_customer_status'], $master_data_general_customer['customer_status'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'remark_sales', __('master_data_general_customer')['col_remark'], $master_data_general_customer['remark_sales'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'customer_type_code', __('master_data_general_customer')['col_customer_type_code'], $master_data_general_customer['customer_type_code'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'level_number', __('master_data_general_customer')['col_level_number'], $master_data_general_customer['level_number'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'number', __('master_data_general_customer')['col_number'], $master_data_general_customer['number'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'industry_volume_class', __('master_data_general_customer')['col_industry_volume_class'], $master_data_general_customer['industry_volume_class'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'pm_volume_class', __('master_data_general_customer')['col_pm_volume_class'], $master_data_general_customer['pm_volume_class'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'dsd_frequency_per_cycle', __('master_data_general_customer')['col_dsd_frequency_per_cycle'], $master_data_general_customer['dsd_frequency_per_cycle'] ?? '', $mode, 'step=".0001"'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'area_surrounding_description', __('master_data_general_customer')['col_area_surrounding_description'], $master_data_general_customer['area_surrounding_description'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'consumers_type_description', __('master_data_general_customer')['col_consumers_type_description'], $master_data_general_customer['consumers_type_description'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'consumers_age_description', __('master_data_general_customer')['col_consumers_age_description'], $master_data_general_customer['consumers_age_description'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'comment', __('master_data_general_customer')['col_comment'], $master_data_general_customer['comment'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'payment_term_code', __('master_data_general_customer')['col_payment_term_code'], $master_data_general_customer['payment_term_code'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'customer_parent_code', __('master_data_general_customer')['col_customer_parent_code'], $master_data_general_customer['customer_parent_code'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'customer_parent_name', __('master_data_general_customer')['col_customer_parent_name'], $master_data_general_customer['customer_parent_name'] ?? '', $mode, ''),
            
            renderBrowserInput('mb-3 row', 'form-control', 'browse_area_name', '', __('master_data_general_customer')['col_area'], $master_data_general_customer['area_description'] ?? '', $mode, '', $action_area, ["areas.code|like","areas.description|like"], [], array('browse_area_id|id','browse_area_name|description',), ['code','description'], '', ['Code','Name'], [['field'=>'code', 'name' => 'areas.code'], ['field'=>'description', 'name' => 'areas.description']], title_modal: 'Area', filter:array('areas.is_active' => 'true')),
            renderInput ('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'hidden', 'area_id', '', $master_data_general_customer['area_id'] ?? '', 'add', 'readonly', 'browse_area_id'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'selling_out_to_end_user', __('master_data_general_customer')['col_selling_out_to_end_user'], $master_data_general_customer['selling_out_to_end_user'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'custom_attribute_readonly', __('master_data_general_customer')['col_custom_attribute_readonly'], $master_data_general_customer['custom_attribute_readonly'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'address_level_1', __('master_data_general_customer')['col_address_level_1'], $master_data_general_customer['address_level_1'] ?? '', $mode, ''),
            renderCheckboxWithLabelOnTheLeft('mb-3 row', 'col-6 col-lg-4 col-form-label', 'col-6 col-lg-8', 'col-lg-4', 'is_preorder', __('master_data_general_customer')['col_is_preorder'], $mode, '', 'is_preorder', $mode !== 'add' ? $master_data_general_customer['is_preorder'] == true ? 'checked' : '' : ''),
            renderCheckboxWithLabelOnTheLeft('mb-3 row', 'col-6 col-lg-4 col-form-label', 'col-6 col-lg-8', 'col-lg-4', 'is_customer_buyback', __('master_data_general_customer')['col_is_customer_buyback'], $mode, '', 'is_customer_buyback', $mode !== 'add' ? $master_data_general_customer['is_customer_buyback'] == true ? 'checked' : '' : ''),
            renderCheckboxWithLabelOnTheLeft('mb-3 row', 'col-6 col-lg-4 col-form-label', 'col-6 col-lg-8', 'col-lg-4', 'is_new_label_salesman_price_list', __('master_data_general_customer')['col_is_new_label_salesman_price_list'], $mode, '', 'is_new_label_salesman_price_list', $mode !== 'add' ? $master_data_general_customer['is_new_label_salesman_price_list'] == true ? 'checked' : '' : ''),
            renderCheckboxWithLabelOnTheLeft('mb-3 row', 'col-6 col-lg-4 col-form-label', 'col-6 col-lg-8', 'col-lg-4', 'is_new_label_rg_price_list', __('master_data_general_customer')['col_is_new_label_rg_price_list'], $mode, '', 'is_new_label_rg_price_list', $mode !== 'add' ? $master_data_general_customer['is_new_label_rg_price_list'] == true ? 'checked' : '' : ''),
            renderBrowserInput('mb-3 row', 'form-control', 'browse_sales_name', '', __('master_data_general_customer')['col_sales'], $master_data_general_customer['sales_price_list_category_name'] ?? '', $mode, '', $action_pricelist_category_sales, ["pricelist_categories.code|like","pricelist_categories.description|like"], [], array('browse_sales_id|id','browse_sales_name|description',), ['code','description'], '', ['Code','Name'], [['field'=>'code', 'name' => 'pricelist_categories.code'], ['field'=>'description', 'name' => 'pricelist_categories.description']], title_modal: 'Sales Pricelist Category', filter:array('pricelist_categories.is_active' => 'true')),
            renderInput ('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'hidden', 'sales_price_list_category', '', $master_data_general_customer['country_id'] ?? '', 'add', 'readonly', 'browse_sales_id'),
            renderBrowserInput('mb-3 row', 'form-control', 'browse_purchase_name', '', __('master_data_general_customer')['col_purchase'], $master_data_general_customer['purchase_price_list_category_name'] ?? '', $mode, '', $action_pricelist_category_purchase, ["pricelist_categories.code|like","pricelist_categories.description|like"], [], array('browse_purchase_id|id','browse_purchase_name|description',), ['code','description'], '', ['Code','Name'], [['field'=>'code', 'name' => 'pricelist_categories.code'], ['field'=>'description', 'name' => 'pricelist_categories.description']], title_modal: 'Purchase Pricelist Category', filter:array('pricelist_categories.is_active' => 'true')),
            renderInput ('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'hidden', 'purchase_price_list_category', '', $master_data_general_customer['country_id'] ?? '', 'add', 'readonly', 'browse_purchase_id'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'sequence_no', __('master_data_general_customer')['col_sequence_no'], $master_data_general_customer['sequence_no'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'record_status', __('master_data_general_customer')['col_record_status'], $master_data_general_customer['record_status'] ?? '', $mode, ''),
            renderCheckboxWithLabelOnTheLeft('mb-3 row', 'col-6 col-lg-4 col-form-label', 'col-6 col-lg-8', 'col-lg-4', 'is_credit_customer', __('master_data_general_customer')['col_is_credit_customer'], $mode, '', 'is_credit_customer', $mode !== 'add' ? $master_data_general_customer['is_credit_customer'] == true ? 'checked' : '' : ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'term_of_payment', __('master_data_general_customer')['col_term_of_payment'], $master_data_general_customer['term_of_payment'] ?? '', $mode, 'step=".0001"'),

        ]
    ],
    [
        'name' => 'Payment',
        'model' => 'div_data',
        'div_divide' => 4,
        'href' => '#payment',
        'data' => [
            renderDateField('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'datepicker-default form-control', __('master_data_general_customer')['col_credit_limit_date'], 'credit_limit_date', $master_data_general_customer['credit_limit_date'] ?? '', ['placeholder' => 'YYYY-MM-DD'], ),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'credit_limit', __('master_data_general_customer')['col_credit_limit'], $master_data_general_customer['credit_limit'] ?? '', $mode, 'step=".0001"'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'available_credit_limit', __('master_data_general_customer')['col_available_credit_limit'], $master_data_general_customer['available_credit_limit'] ?? '', $mode, 'step=".0001"'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'cash_limit', __('master_data_general_customer')['col_cash_limit'], $master_data_general_customer['cash_limit'] ?? '', $mode, 'step=".0001"'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'available_cash_limit', __('master_data_general_customer')['col_available_cash_limit'], $master_data_general_customer['available_cash_limit'] ?? '', $mode, 'step=".0001"'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'max_cash_limit_collection', __('master_data_general_customer')['col_max_cash_limit_collection'], $master_data_general_customer['max_cash_limit_collection'] ?? '', $mode, 'step=".0001"'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'credit_note_limit', __('master_data_general_customer')['col_credit_note_limit'], $master_data_general_customer['credit_note_limit'] ?? '', $mode, 'step=".0001"'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'first_credit_limit', __('master_data_general_customer')['col_first_credit_limit'], $master_data_general_customer['first_credit_limit'] ?? '', $mode, 'step=".0001"'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'available_credit_note_limit', __('master_data_general_customer')['col_available_credit_note_limit'], $master_data_general_customer['available_credit_note_limit'] ?? '', $mode, 'step=".0001"'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'max_cash_limit', __('master_data_general_customer')['col_max_cash_limit'], $master_data_general_customer['max_cash_limit'] ?? '', $mode, 'step=".0001"'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'max_credit_note_limit', __('master_data_general_customer')['col_max_credit_note_limit'], $master_data_general_customer['max_credit_note_limit'] ?? '', $mode, 'step=".0001"'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'payment_cash_collection_limit', __('master_data_general_customer')['col_payment_cash_collection_limit'], $master_data_general_customer['payment_cash_collection_limit'] ?? '', $mode, 'step=".0001"'),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'number', 'available_payment_cash_collection_limit', __('master_data_general_customer')['col_available_payment_cash_collection_limit'], $master_data_general_customer['available_payment_cash_collection_limit'] ?? '', $mode, 'step=".0001"')
        ],
        'make_grid_multiple' => [$grid_payment,$grid_bank_account]
    ],
    [
        'name' => 'Tax',
        'model' => 'div_data',
        'div_divide' => 2,
        'href' => '#tax',
        'data' => [
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'tax_office', __('master_data_general_customer')['col_tax_office'], $master_data_general_customer['tax_office'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'tax_number', __('master_data_general_customer')['col_tax_number'], $master_data_general_customer['tax_number'] ?? '', $mode, ''),

            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'customer_name_in_tax_id', __('master_data_general_customer')['col_customer_name_in_tax_id'], $master_data_general_customer['customer_name_in_tax_id'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'customer_address_in_tax_id', __('master_data_general_customer')['col_customer_address_in_tax_id'], $master_data_general_customer['customer_address_in_tax_id'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'customer_email_address', __('master_data_general_customer')['col_customer_email_address'], $master_data_general_customer['customer_email_address'] ?? '', $mode, ''),
            renderCheckboxWithLabelOnTheLeft('mb-3 row', 'col-6 col-lg-4 col-form-label', 'col-6 col-lg-8', 'col-lg-4', 'is_pkp_customer', __('master_data_general_customer')['col_is_pkp_customer'], $mode, '', 'is_pkp_customer', $mode !== 'add' ? $master_data_general_customer['is_pkp_customer'] == true ? 'checked' : '' : ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'customer_geotree_area_id', __('master_data_general_customer')['col_customer_geotree_area_id'], $master_data_general_customer['customer_geotree_area_id'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'customer_tax_number', __('master_data_general_customer')['col_customer_tax_number'], $master_data_general_customer['customer_tax_number'] ?? '', $mode, ''),
            renderInput('mb-3 row', 'col-lg-4 col-form-label', 'col-lg-8', 'text', 'customer_registered_name', __('master_data_general_customer')['col_customer_registered_name'], $master_data_general_customer['customer_registered_name'] ?? '', $mode, ''),
        ]
    ]
], "") !!}
Leave a Comment