���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/admin.adimi/code/management/customer/ |
<div class="card"> <div class="card-header"> Soạn báo giá khách hàng <?php echo $row_customer['customer_fullname'];?> </div> <div class="card-body"> <form action="?act=management&code=customer&type=baogia" method="post"> <input type="hidden" name="f[customer_id]" value="<?php echo $row_customer['customer_id'];?>"> <input type="hidden" name="f[customer_baogia_id]" value="<?php echo $row_check['customer_baogia_id'];?>"> <input type="hidden" name="f[customer_baogia_type]" value="<?php echo $type2;?>"> <div class="row"> <div class="col-sm-4"> <!-- text input --> <div class="form-group"> <label>Công ty người nhận</label> <input type="text" class="form-control" name="f[customer_baogia_congtynguoinhan]" value="<?php echo $row_check['customer_baogia_congtynguoinhan'];?>" > </div> </div> <div class="col-sm-4"> <div class="form-group"> <label>Họ tên người nhận</label> <input type="text" class="form-control" name="f[customer_baogia_tennguoinhan]" value="<?php echo $row_check['customer_baogia_tennguoinhan'];?>" required> </div> </div> <div class="col-sm-4"> <div class="form-group"> <label>Anh/Chị</label> <select class="form-control" name="f[customer_baogia_gender]"> <option value="1" <?php if($row_check['customer_baogia_gender']==1){ echo 'selected';};?>>Anh</option> <option value="2" <?php if($row_check['customer_baogia_gender']==2){ echo 'selected';};?>>Chị</option> </select> </div> </div> </div> <div class="row"> <div class="col-sm-6"> <!-- text input --> <div class="form-group"> <label>Điện thoại người nhận</label> <input type="text" class="form-control" name="f[customer_baogia_dienthoainguoinhan]" value="<?php echo $row_check['customer_baogia_dienthoainguoinhan'];?>" required> </div> </div> <div class="col-sm-6"> <div class="form-group"> <label>Email người nhận</label> <input type="email" class="form-control" name="f[customer_baogia_emailnguoinhan]" value="<?php echo $row_check['customer_baogia_emailnguoinhan'];?>" required> </div> </div> </div> <div class="row"> <div class="col-sm-6"> <!-- text input --> <div class="form-group"> <label>Công ty người gửi</label> <input type="text" class="form-control" name="f[customer_baogia_congtynguoigui]" value="<?php echo $row_check['customer_baogia_congtynguoigui'];?>" required> </div> </div> <div class="col-sm-6"> <div class="form-group"> <label>Họ tên người gửi</label> <input type="text" class="form-control" name="f[customer_baogia_tennguoigui]" value="<?php echo $row_check['customer_baogia_tennguoigui'];?>" required> </div> </div> </div> <div class="row"> <div class="col-sm-6"> <!-- text input --> <div class="form-group"> <label>Điện thoại người gửi</label> <input type="text" class="form-control" name="f[customer_baogia_dienthoainguoigui]" value="<?php echo $row_check['customer_baogia_dienthoainguoigui'];?>" required> </div> </div> <div class="col-sm-6"> <div class="form-group"> <label>Email người gửi</label> <input type="email" class="form-control" name="f[customer_baogia_emailnguoigui]" value="<?php echo $row_check['customer_baogia_emailnguoigui'];?>" required> </div> </div> </div> <div class="row"> <div class="col-sm-6"> <!-- text input --> <div class="form-group"> <label>Ngày gửi</label> <input type="text" class="mydatepciker form-control" name="f[customer_baogia_ngaygui]" value="<?php echo $row_check['customer_baogia_ngaygui'];?>" required> </div> </div> <div class="col-sm-6"> <!-- text input --> <div class="form-group"> <label>Tên báo giá</label> <input type="text" class="mydatepciker form-control" name="f[customer_baogia_name]" value="<?php echo $row_check['customer_baogia_name'];?>" required> </div> </div> </div> <div class="row"> <div class="col-sm-12"> <div class="form-group"> <label>Danh sách các dịch vụ:</label> <table class="table table-bordered"> <thead> <tr> <th>Tên dịch vụ</th> <th>Chi phí</th> </tr> </thead> <tbody id="input_fields_wrap"> <?php if($v_customer_baogia_id>0 && $html_item!=''){ echo $html_item; }else{ ?> <tr> <td><input type="text" value="" name="f[dich_vu][]" class="form-control"></td> <td><input type="text" value="" name="f[chi_phi][]" class="money form-control"></td> </tr> <?php } ?> </tbody> <tr><td colspan="2"><button class="btn btn-info btn-sm" id="add_kh">+ Add </button> <button class="btn btn-warning btn-sm" id="remove_kh">- Remove </button></td></tr> </table> </div> </div> </div> <div class="row"> <div class="col-sm-12"> <div class="form-group"> <label>Ghi chú</label><br/> <?php echo $txt_ghichu;?> </div> </div> </div> <button type="submit" class="btn btn-primary" name="submitbt">Submit</button> </form> </div> </div> <div class="card"> <div class="card-header"> Báo giá đã cập nhật </div> <div class="card-body"> <table class="table table-bordered"> <tr><th>ID</th><th>Dịch vụ</th><th>Họ tên người nhận</th><th>Email người nhận</th><th>Tổng chi phí</th><th>Tình trạng</th><th>#</th></tr> <?php echo $txt_list; ?> </table> </div> </div> <script> $('#add_kh').click(function(e){ e.preventDefault(); //var txt_uniqid = uniqid(5); var max_fields = 50; var total_fields = $('#input_fields_wrap tr').length; if(total_fields < max_fields){ $('#input_fields_wrap').append('<tr class="tr_add_input"><td><input type="text" value="" name="f[dich_vu][]" class="form-control"></td><td><input type="text" value="" name="f[chi_phi][]" class="money form-control"></td></tr>'); } $('.money').simpleMoneyFormat(); $('.mydatepicker').datepicker({ format: 'dd-mm-yyyy', }); }); $("#remove_kh").click(function(e){ e.preventDefault(); var max_fields = 50; var total_fields = $('#input_fields_wrap tr.tr_add_input').length; if(total_fields > 0){ $('#input_fields_wrap tr:last').remove(); } }); </script>