File manager - Edit - /home/autoph/public_html/connectv1/include/components/customer_update/modal/vehicle_form.php
Back
<?php if (file_exists('../../../../cfg/db.php')) { include_once('../../../../cfg/db.php'); include_once("../../../../api/controllers/utility.php"); $utility = new Utility(); } ?> <div class="modal fade" id="modal-vehicle" tabindex="-1" data-backdrop="static" aria-labelledby="exampleModalCenterTitleCenter" aria-hidden="true"> <div class="modal-dialog modal-dialog-scrollable modal-xl" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title-vehicle" id="exampleModalCenterTitleCenter"><span id="modal-title-vehicle"></span></h5> <div class="fas fa-2x fa-sync-alt fa-spin vehicle-modal-overlay"> </div> <!-- <a href="#" class="close" data-dismiss="modal" aria-label="close">×</a> --> <!-- <button id="close-button-vehicle" type="button" class="close" aria-label="Close"> --> <button class="close" data-dismiss="modal" aria-label="close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <div class="card pb-0 pt-0 pl-0 pr-0 mt-0 mb-0 ml-0 mr-0" id="grid-card" style="box-shadow: 0 0 0 0"> <div class="overlay vehicle-modal-overlay"> </div> <div class="card-body pb-0 pt-0 pl-0 pr-0 mt-0 mb-0 ml-0 mr-0" id="vehicle-grid" style="padding: .50rem"> <!-- ./nav bar --> <div id="app-vehicle" class="mb-2"> <nav class="navbar navbar-expand-md navbar-light ml-0 mt-0 mb-0 pt-0 pb-0" style="background-color: #ffffff;"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarNav"> <!-- <ul class=" nav nav-tabs navbar-nav mr-auto" id="custom-tabs-three-tab" role="tablist" style="border-bottom: 0px solid #ffffff;"> --> <ul class="nav nav-tabs navbar-nav mr-auto vehicle-modal-tab" id="vehicle-modal-tab" role="tablist"> <li class="nav-item"> <a class="nav-link active border-0 " id="vehicle-modal-tab-information" data-toggle="pill" href="#vehicle-modal-information" role="tab" aria-controls="customer-modal-information" aria-selected="true">Vehicle Information</a> </li> <li class="nav-item"> <a class="nav-link border-0 " id="vehicle-modal-tab-sales-picture" data-toggle="pill" href="#vehicle-modal-sales-picture" role="tab" aria-controls="vehicle-modal-sales-picture" aria-selected="false"> Vehicle Picture </a> </li> <li class="nav-item"> <a class="nav-link border-0 " id="vehicle-modal-tab-sales-record" data-toggle="pill" href="#vehicle-modal-sales-record" role="tab" aria-controls="vehicle-modal-sales-record" aria-selected="false"> Sales Record </a> </li> </ul> </div> </nav> </div> </div> <div class="tab-content" id="vehicle-modal-tab-content"> <div class="tab-pane fade show active" id="vehicle-modal-information" role="tabpanel" aria-labelledby="vehicle-modal-tab-information"> <fieldset class="card " style="display:none;" id="customer-owner-section"> <!-- <legend>VEHICLE INFORMATION</legend> --> <div class="row"> <div class="col-sm-6"> <div class="col-sm-12 mb-1"> <div id="div-brand" class="mb-0 form-group"> <label class="lbl-forms mx-0 my-0">Vehicle Owner</label> <span style="color:red;"><strong>*</strong></span> <select name="mod-customer-number" id="mod-customer-number" json-modal="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> <?php // $brand = $db -> return_result("SELECT `id`, `name` FROM `source_brand` WHERE status != 0 ORDER BY id ASC"); // foreach($brand AS $data){ // echo "<option value='{$data['id']}'>".$data['name']."</option>"; // } ?> </select> </div> </div> </div> <!-- <div id="div-end-user" class="col-sm-6 mb-1" hidden> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">End User Name</label> <input maxlength="100" id="mod-end-user" type="text" json-modal="true" placeholder="Blank if same in customer name" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="height:31px; background-color: transparent;"> </div> </div> --> </div> </fieldset> <fieldset class="card "> <!-- <legend>VEHICLE INFORMATION</legend> --> <div class="row"> <div class="col-sm-6"> <div class="col-sm-12 mb-1"> <div id="div-brand" class="mb-0 form-group"> <label class="lbl-forms mx-0 my-0">Brand</label> <span style="color:red;"><strong>*</strong></span> <select name="mod-dd-brand" id="mod-dd-brand" json-modal="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> <?php $brand = $db->return_result("SELECT `id`, `name` FROM `source_brand` WHERE status != 0 ORDER BY id ASC"); foreach ($brand as $data) { echo "<option value='{$data['id']}'>" . $data['name'] . "</option>"; } ?> </select> </div> </div> <div class="col-sm-12 mb-1"> <div id="div-model" class="mb-0 form-group"> <label class="lbl-forms mx-0 my-0">Model</label> <span style="color:red;"><strong>*</strong></span> <select name="mod-dd-model" id="mod-dd-model" json-modal="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> <?php // $model = $db -> return_result("SELECT `id`, `name` FROM `source_car_model` WHERE status != 0 ORDER BY id ASC"); // foreach($model as $data){ // echo "<option value='{$data['id']}'>".$data['name']."</option>"; // } ?> </select> </div> </div> <div class="col-sm-12 mb-1"> <div id="div-model-variant" class="mb-0 form-group"> <label class="lbl-forms mx-0 my-0">Model Variant</label> <select name="mod-dd-model-variant" id="mod-dd-model-variant" json-modal="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> <?php ?> </select> </div> </div> <div class="col-sm-12 mb-1" hidden> <div id="div-model-description" class="form-group dropdown-input mx-0 my-0"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Model Description</label> <input maxlength="50" id="mod-model-description" type="text" json-modal="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="background-color: transparent;"> </div> </div> </div> <div class="col-sm-12 mb-1" hidden> <div id="div-model-description" class="form-group dropdown-input mx-0 my-0"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Model No.</label> <input maxlength="50" id="mod-model-number" type="text" json-modal="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="background-color: transparent;"> </div> </div> </div> <div id="div-cs-number" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Conduction Sticker</label> <span style="color:red;"><strong>*</strong></span> <input maxlength="25" id="mod-cs-number" type="text" json-modal="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="background-color: transparent;"> </div> </div> <div id="div-plate-number" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Plate Number</label> <input pattern="^[a-zA-Z0-9 ]+$" maxlength="25" id="mod-plate-number" type="text" json-modal="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="background-color: transparent;"> </div> </div> <div id="div-or" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Official Receipt</label> <input pattern="^[a-zA-Z0-9 ]+$" maxlength="50" id="mod-or" type="text" json-modal="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="background-color: transparent;"> </div> </div> <div id="div-cr" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Certificate of Registration</label> <input pattern="^[a-zA-Z0-9 ]+$" maxlength="50" id="mod-cr" type="text" json-modal="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="background-color: transparent;"> </div> </div> <div class="col-sm-12 mb-1" hidden> <div id="div-reg-number" class="form-group dropdown-input mx-0 my-0"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Registration No.</label> <input maxlength="50" id="mod-reg-number" type="text" json-modal="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="background-color: transparent;"> </div> </div> </div> <!-- <div class="col-sm-12 mb-1"> <div id="div-serial-number" class="form-group dropdown-input mx-0 my-0"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Serial No.</label> <input maxlength="50" id="mod-serial-number" type="text" json-modal="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="background-color: transparent;"> </div> </div> </div> --> </div> <div class="col-sm-6"> <div id="div-modal-color" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Color</label> <select name="mod-dd-color" id="mod-dd-color" json-modal="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> </select> </div> </div> <!-- <div class="col-sm-12 mb-1"> <div id="div-modal-color" class="form-group dropdown-input mx-0 my-0"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mx-0 my-0">Color</label> <select name="mod-dd-color" id="mod-dd-color" json-modal="true" class="modal-select2 edit-customer lbl-forms-sm form-control form-control-sm" style="width: 100%;"> <option></option> <?php // $color = $db -> return_result("SELECT `id`, `name` FROM `vehicle_color` WHERE status != 0 ORDER BY id ASC"); // foreach($color as $data){ // echo "<option value='{$data['name']}'>".$data['name']."</option>"; // } ?> </select> </div> </div> </div> --> <div class="col-sm-12 mb-1"> <div id="div-modal-transmission" class="form-group dropdown-input mx-0 my-0"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mx-0 my-0">Transmission</label> <!-- <input maxlength="50" id="mod-transmission" type="text" json-modal="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="background-color: transparent;"> --> <select name="mod-transmission" id="mod-transmission" json-modal="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> <?php $transmission = $db->return_result("SELECT `id`, `name` FROM `vehicle_transmission` WHERE status != 0 ORDER BY id ASC"); foreach ($transmission as $data) { echo "<option value='{$data['id']}'>" . $data['name'] . "</option>"; } ?> </select> </div> </div> </div> <div class="col-sm-12 mb-1"> <div id="div-modal-type" class="form-group dropdown-input mx-0 my-0"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mx-0 my-0">Vehicle Type</label> <select name="mod-dd-type" id="mod-dd-type" json-modal="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> <?php $type = $db->return_result("SELECT `id`, `name` FROM `vehicle_type` WHERE status != 0 ORDER BY id ASC"); foreach ($type as $data) { echo "<option value='{$data['id']}'>" . $data['name'] . "</option>"; } ?> </select> </div> </div> </div> <div class="col-sm-12 mb-1"> <div id="div-modal-engine-type" class="form-group dropdown-input mx-0 my-0"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Engine Type</label> <input maxlength="50" id="mod-engine-type" type="text" json-modal="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="background-color: transparent;"> </div> </div> </div> <div class="col-sm-12 mb-1"> <div id="div-modal-vin-number" class="form-group dropdown-input mx-0 my-0"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">VIN</label> <input maxlength="50" id="mod-vin-number" type="text" json-modal="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="background-color: transparent;"> </div> </div> </div> <div class="col-sm-12 mb-1"> <div id="div-modal-gas-type" class="form-group dropdown-input mx-0 my-0"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Gas Type</label> <input maxlength="50" id="mod-gas-type" type="text" json-modal="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="background-color: transparent;"> </div> </div> </div> <div class="col-sm-12 mb-1"> <div id="div-modal-year-model" class="form-group dropdown-input mx-0 my-0"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Year Model</label> <input type="number" id="mod-year-model" maxlength="4" oninput="this.value=this.value.slice(0,this.maxLength)" json-modal="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="background-color: transparent;"> </div> </div> </div> </div> </div> </fieldset> <div class="row"> <div class="col-sm-12"> <fieldset class="card"> <legend>DATA SOURCE <span style="color:red;"><strong>*</strong></span></legend> <div class="row"> <div class="col-sm-4"> <div class="form-group"> <label class="lbl-forms mx-0 my-0">DMS</label> <!-- <span style="color:red;"><strong>*</strong></span> --> <select name="mod-dd-dms" id="mod-dd-dms" json-modal="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> <?php $dms = $db->return_result("SELECT `id`, `name` FROM `source_dms` WHERE status != 0 ORDER BY id ASC"); foreach ($dms as $data) { echo "<option value='{$data['id']}'>" . $data['name'] . "</option>"; } ?> </select> </div> </div> <div class="col-sm-4"> <div class="form-group"> <label class="lbl-forms mx-0 my-0">Company</label> <!-- <span style="color:red;"><strong>*</strong></span> --> <select name="mod-dd-company" id="mod-dd-company" json-modal="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> <!-- <?php // $company = $db -> return_result("SELECT `id`, `code`, `name` FROM `source_company` WHERE status != 0 ORDER BY id ASC"); // foreach($company as $data){ // echo "<option value='{$data['id']}'>".$data['code']. " - " .$data['name']."</option>"; // } ?> --> </select> </div> </div> <div class="col-sm-4"> <div class="form-group"> <label class="lbl-forms mx-0 my-0">Dealer</label> <!-- <span style="color:red;"><strong>*</strong></span> --> <select name="mod-dd-dealer" id="mod-dd-dealer" json-modal="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> <?php // $dealer = $db -> return_result("SELECT `id`, `code`, `name` FROM `source_dealer` WHERE status != 0 ORDER BY id ASC"); // foreach($dealer as $data){ // echo "<option value='{$data['id']}'>".$data['code']. " - " .$data['name']."</option>"; // } ?> </select> </div> </div> </div> </fieldset> </div> </div> </div> <div class="tab-pane fade" id="vehicle-modal-sales-picture" role="tabpanel" aria-labelledby="vehicle-modal-tab-sales-picture"> <div class="row"> <div class="col-sm-12"> <form action="" class="dropzone dz-clickable" id="upload-sales-photo"> <div class="dz-message d-flex flex-column"> <i class="fa fa-cloud-upload-alt"></i> <strong> Drag & Drop here or click </strong> </div> </form> </div> </div> </div> <div class="tab-pane fade" id="vehicle-modal-sales-record" role="tabpanel" aria-labelledby="vehicle-modal-tab-sales-record"> <div class="row"> <div class="col-sm-12"> <div class="row"> <div class="col-sm-12"> <fieldset class="card "> <!-- <legend>VEHICLE INFORMATION</legend> --> <div class="row"> <div class="col-sm-6" id="div-vehicle-cs-owner" hidden> <div class="col-sm-12 mb-1"> <div class="mb-0 form-group"> <label class="lbl-forms mx-0 my-0">Vehicle</label> <span style="color:red;"><strong>*</strong></span> <select name="mod-vehicle-cs-owner" id="mod-vehicle-cs-owner" json-modal-sale="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> <?php // $brand = $db -> return_result("SELECT `id`, `name` FROM `source_brand` WHERE status != 0 ORDER BY id ASC"); // foreach($brand AS $data){ // echo "<option value='{$data['id']}'>".$data['name']."</option>"; // } ?> </select> </div> </div> </div> <div class="col-sm-6" id="has_sales_record_div"> <div id="" class="col-sm-12 mt-3"> <div class="form-group mx-0 my-0"> <input type="number" json-modal="true" value="0" id="has-sales-record" style="display: none" /> <div class="icheck-primary d-inline"> <input type="checkbox" id="has_sales_record" /> <label for="has_sales_record"> Has Sales Record </label> </div> </div> </div> </div> <div class="col-sm-6" id="div-order-number" style="display: none"> <div class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Order No.</label> <input maxlength="50" id="mod-order-number" type="text" json-modal-sale="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="height:31px; background-color: transparent;"> </div> </div> </div> </div> </fieldset> <fieldset class="card" id="sales-info-1" style="display: none"> <!-- <legend>VEHICLE SALES INFO</legend> --> <div class="row"> <div class="col-sm-6"> <div id="div-mode-of-sale" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Mode of Sale</label> <select name="mod-dd-mode-of-sale" id="mod-dd-mode-of-sale" json-modal-sale="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> <?php $mode = $db->return_result("SELECT `id`, `name` FROM `source_mode_of_sale` WHERE id != 0 ORDER BY id ASC"); foreach ($mode as $data) { echo "<option value='{$data['id']}'>" . $data['name'] . "</option>"; } ?> </select> </div> </div> <div id="div-type-of-payment" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Type of Payment</label> <select name="mod-dd-type-of-payment" id="mod-dd-type-of-payment" json-modal-sale="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> <?php $type = $db->return_result("SELECT `id`, `name` FROM `source_type_of_payment` WHERE id != 0 ORDER BY id ASC"); foreach ($type as $data) { echo "<option value='{$data['id']}'>" . $data['name'] . "</option>"; } ?> </select> </div> </div> <div id="div-source-of-sale" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Source of Sale</label> <select name="mod-dd-source-of-sale" id="mod-dd-source-of-sale" json-modal-sale="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> <?php $source = $db->return_result("SELECT `id`, `name` FROM `source_of_inquiry` WHERE id != 0 ORDER BY id ASC"); foreach ($source as $data) { echo "<option value='{$data['id']}'>" . $data['name'] . "</option>"; } ?> </select> </div> </div> <div id="div-mode-of-sale" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Group Manager</label> <select name="mod-dd-group-manager" id="mod-dd-group-manager" json-modal-sale="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> </select> </div> </div> <div id="div-sales-consultant" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Sales Consultant</label> <select name="mod-dd-sales-consultant" id="mod-dd-sales-consultant" json-modal-sale="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> </select> </div> </div> <div id="mod-dd-group-manager-asa-div" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Tag ASA Group Manager</label> <select name="mod-dd-group-manager-asa" id="mod-dd-group-manager-asa" json-modal-sale="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> </select> </div> </div> <div id="mod-dd-sales-consultant-asa-div" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Tag ASA Sales Consultant</label> <select name="mod-dd-sales-consultant-asa" id="mod-dd-sales-consultant-asa" json-modal-sale="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> </select> </div> </div> </div> <div class="col-sm-6"> <div id="div-modal-sales-cost" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Sales Cost</label> <input type="number" maxlength="100" id="mod-sales-cost" type="text" json-modal-sale="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="height:31px; background-color: transparent;"> </div> </div> <div id="div-modal-sales-price" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Sales Price</label> <input type="number" maxlength="100" id="mod-sales-price" type="text" json-modal-sale="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="height:31px; background-color: transparent;"> </div> </div> <div id="div-modal-sales-discount" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Sales Discount</label> <input type="number" maxlength="100" id="mod-sales-discount" type="text" json-modal-sale="true" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="height:31px; background-color: transparent;"> </div> </div> <div id="div-modal-sales-date" class="col-sm-12 mb-1"> <div class="form-group dropdown-input mx-0 my-0"> <label class="lbl-forms mx-0 my-0">Sales Date:</label> <div class=" edit-customer input-group date" id="div-sales-date" data-target-input="nearest"> <input name="mod-sales-date" id="mod-sales-date" json-modal-sale="true" data-inputmask-alias="datetime" data-inputmask-inputformat="mm/dd/yyyy" data-mask type="text" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm datetimepicker-input" data-target="#mod-sales-date" style="height:31px; background-color: transparent;" /> <div class=" edit-customer input-group-append" data-target="#mod-sales-date" data-toggle="datetimepicker" style="height: 28px;"> <div class="input-group-text"><i class="fa fa-calendar"></i> </div> </div> </div> </div> </div> </div> </div> <!-- <hr> --> </fieldset> </div> </div> <div class="row"> <div class="col-sm-12"> <fieldset class="card" id="sales-info-2" style="display: none"> <div class="row"> <div class="col-sm-6"> <div id="div-modal-driver" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Driver</label> <input maxlength="100" id="mod-driver" type="text" json-modal-sale="true" style="height: 31px;" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="background-color: transparent;"> </div> </div> <div id="div-modal-end-user" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">End User</label> <input maxlength="100" id="mod-end-user" type="text" json-modal-sale="true" style="height: 31px;" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="background-color: transparent;"> </div> </div> </div> <div class="col-sm-6"> <div id="div-modal-delivery-date" class="col-sm-12 mb-1"> <div class="form-group dropdown-input mx-0 my-0"> <label class="lbl-forms mx-0 my-0">Delivery Date:</label> <div class=" edit-customer input-group date" id="div-delivery-date" data-target-input="nearest"> <input name="mod-delivery-date" id="mod-delivery-date" json-modal-sale="true" data-inputmask-alias="datetime" data-inputmask-inputformat="mm/dd/yyyy" data-mask type="text" style="height: 31px;" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm datetimepicker-input" data-target="#mod-delivery-date" /> <div class=" edit-customer input-group-append" data-target="#mod-delivery-date" data-toggle="datetimepicker" style="height: 28px;"> <div class="input-group-text"><i class="fa fa-calendar"></i> </div> </div> </div> </div> </div> </div> </div> </fieldset> </div> </div> <fieldset class="card" id="insurace-finance-section" style="display: none"> <legend>INSURANCE & FINANCE</legend> <div class="row"> <div class="col-sm-6"> <div id="div-insurance-company" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Insurance Company</label> <select name="mod-dd-insurance-company" id="mod-dd-insurance-company" json-modal-sale="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> </select> </div> </div> <div id="div-insurance-type" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Insurance Type</label> <select name="mod-dd-insurance-type" id="mod-dd-insurance-type" json-modal-sale="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> <?php $ins_type = $db->return_result("SELECT `id`, `name` FROM `source_insurance_type` WHERE status != 0 ORDER BY id ASC"); foreach ($ins_type as $data) { echo "<option value='{$data['id']}'>" . $data['name'] . "</option>"; } ?> </select> </div> </div> <div id="div-modal-insurance-exp-date" class="col-sm-12 mb-1"> <div class="form-group dropdown-input mx-0 my-0"> <label class="lbl-forms mx-0 my-0">Insurance Expiration Date:</label> <div class="edit-customer input-group date" id="div-insurance-exp-date" data-target-input="nearest"> <input style="height: 31px;" name="mod-insurance-exp-date" id="mod-insurance-exp-date" json-modal-sale="true" data-inputmask-alias="datetime" data-inputmask-inputformat="mm/dd/yyyy" data-mask type="text" class="big-letter edit-customer lbl-forms-sm form-control form-control-sm datetimepicker-input" data-target="#mod-insurance-exp-date" /> <div class="edit-customer input-group-append" data-target="#mod-insurance-exp-date" data-toggle="datetimepicker" style="height: 28px;"> <div class="input-group-text"><i class="fa fa-calendar"></i> </div> </div> </div> </div> </div> </div> <div class="col-sm-6"> <div id="div-modal-finance-company" class="col-sm-12 mb-1"> <div class="form-group mx-0 my-0"> <label class="lbl-forms mb-0">Finance Company</label> <select name="mod-dd-finance-company" id="mod-dd-finance-company" json-modal-sale="true" class="modal-select2 edit-customer lbl-forms-sm form-control " style="width: 100%;"> <option></option> <?php $finance_type = $db->return_result("SELECT `id`, `name` FROM `source_finance_company` WHERE status != 0 ORDER BY id ASC"); foreach ($finance_type as $data) { echo "<option value='{$data['name']}'>" . $data['name'] . "</option>"; } ?> </select> </div> </div> <div id="div-modal-finance-exp-date" class="col-sm-12 mb-1"> <div class="form-group dropdown-input mx-0 my-0"> <label class="lbl-forms mx-0 my-0">Finance Expiration Date:</label> <div class=" edit-customer input-group date" id="div-finance-exp-date" data-target-input="nearest"> <input style="height: 31px;" name="mod-finance-exp-date" id="mod-finance-exp-date" json-modal-sale="true" data-inputmask-alias="datetime" data-inputmask-inputformat="mm/dd/yyyy" data-mask type="text" class=" big-letter edit-customer lbl-forms-sm form-control form-control-sm datetimepicker-input" data-target="#mod-finance-exp-date" /> <div class="edit-customer input-group-append" data-target="#mod-finance-exp-date" data-toggle="datetimepicker" style="height: 28px;"> <div class="input-group-text"><i class="fa fa-calendar"></i> </div> </div> </div> </div> </div> </div> </div> </fieldset> <fieldset class="card" id="vehicle-offered-section" style="display: none"> <legend>FUTURE VEHICLE REQUIREMENTS</legend> <div class="table-responsive"> <table id="brands-offered-list-table" style="position: relative;" class="fixed-table-width table-bordered table-sm"> <thead> <tr> <th style="width: 225px;">Brand</th> <th style="width: 225px;">Model</th> <th style="width: 530px;">Description</th> <th style="width: 80px;" class="text-center"> <button type="button" name="addRowVehicleOffered" id="addRowVehicleOffered" class="btn btn-success btn-xs add"> <span class="fas fa-plus"></span> </button> </th> </tr> </thead> <tbody id="brands-offered-list"> </tbody> </table> </div> <table id="brands-offered-list-clone" style="display: none"> <tbody id="brands-offered-list"> <tr> <td> <select type="text" class="select-category form-control " id="select-brand"> <option></option> <?php // $brands_offered = $db -> return_result("SELECT id, name FROM `source_brand` WHERE status = 1 ORDER BY name ASC"); // foreach($brands_offered as $data){ // echo "<option value='{$data['id']}'>".$data['name']."</option>"; // } ?> </select> </td> <td> <select type="text" class="select-content form-control " id="select-model"> <option></option> </select> </td> <td> <div class="input-group"> <input type="text" maxlength="250" id="mod-brands-offered-description" style="height: 31px;" class="big-letter big-letter edit-customer lbl-forms-sm form-control form-control-sm" style="background-color: transparent;"> </div> </td> <td class="text-center"> <button type="button" class="btnRemove btn btn-danger btn-xs"> <span class="fas fa-minus"></span> </button> </td> </tr> </tbody> </table> </fieldset> </div> </div> </div> </div> <div class="overlay" id="vehicle-loader" style="display: none;"> <div class="fas fa-2x fa-sync-alt fa-spin "> </div> <strong><span class="ml-2" id="loading-message"> Loading, please wait...</span></strong> </div> </div> </div> <!--modal body--> <div class="modal-footer"> <button id="proceed-button-vehicle" type="button" class="btn btn-success btn-sm swalDefaultSuccess"><span></span></button> </div> </div> <!--modal content--> </div> </div>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings