File manager - Edit - /home/autoph/public_html/data03252025consolidation/include/components/vehicle/modal/sale_form.php
Back
<div class="modal fade" id="modal-sales" tabindex="-1" data-backdrop="static" aria-labelledby="exampleModalCenterTitle" 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" id="exampleModalCenterTitleSale"><span id="modal-title-sale">Sales Information</span></h5> <div class="fas fa-2x fa-sync-alt fa-spin customer-modal-overlay"> </div> <button id="close-button-sale" type="button" class="close" 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 customer-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" class="mb-2" hidden> <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="navbarNavSale"> <!-- <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-sale" id="vehicle-modal-tab-sale" role="tablist"> <li class="nav-item"> <a class="nav-link active border-0 " id="vehicle-modal-tab-sales-information" data-toggle="pill" href="#vehicle-modal-information-sale" role="tab" aria-controls="vehicle-modal-sales-information-sale" aria-selected="true">Sales Information</a> </li> </ul> </div> </nav> </div> </div> <div class="tab-content" id="vehicle-modal-tab-content-sale"> <div class="tab-pane fade show active" id="vehicle-modal-sales-information-sale" role="tabpanel" aria-labelledby="vehicle-modal-tab-sales-information"> <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"> <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 form-control-sm" 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"> <div id="div-order-number" 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"> <!-- <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 form-control-sm" 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 form-control-sm" 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-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 form-control-sm" 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 form-control-sm" style="width: 100%;"> <option></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 form-control-sm" 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> <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"> <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"> <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 form-control-sm" 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 form-control-sm" 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 form-control-sm" 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"> <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="addRow" id="addRow" 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 form-control-sm" 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 form-control-sm" 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 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-sale" type="button" class="btn btn-success btn-sm swalDefaultSuccess"><span>Save Information</span></button> </div> </div> <!--modal content--> </div> </div>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings