ÿØÿà 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/service/ |
<?php $fmt = new NumberFormatter( 'vi_VN', NumberFormatter::CURRENCY ); $hd_id = $CORE->input['hd_id']; $r_hd = $DB->fetch_row($DB->query("SELECT * FROM tb_service_event_hoadon WHERE hoa_don_id='$hd_id' ")); if($r_hd['tinh_trang']=='da_thanh_toan'){ $txt_tinh_trang = '<span class="text-success"><i class="far fa-check-circle"></i> '.$arr_status_thanh_toan['da_thanh_toan'].'</span>'; $txt_xn_tt = ''; }else{ $txt_tinh_trang = '<span class="text-danger"><i class="fas fa-times"></i> '.$arr_status_thanh_toan['chua_thanh_toan'].'</span>'; } $row_check_service = $DB->fetch_row($DB->query("SELECT * FROM tb_service WHERE service_id='".$r_hd['service_id']."' ")); $row_customer = $DB->fetch_row($DB->query("SELECT * FROM tb_customer WHERE customer_id = '".$row_check_service['customer_id']."' ")); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Invoice Print</title> <!-- Google Font: Source Sans Pro --> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback"> <!-- Font Awesome --> <link rel="stylesheet" href="layout/adminlte320rc/plugins/fontawesome-free/css/all.min.css"> <!-- Theme style --> <link rel="stylesheet" href="layout/adminlte320rc/dist/css/adminlte.min.css"> </head> <body> <div class="wrapper"> <!-- Main content --> <section class="invoice"> <!-- title row --> <div class="row"> <div class="col-12"> <h2 class="page-header"> <i class="fas fa-globe"></i> Hóa Ä‘Æ¡n số #<?php echo $hd_id;?> <?php echo $txt_tinh_trang;?> <small class="float-right">Ngà y tạo hóa Ä‘Æ¡n: <?php echo date('d-m-Y',strtotime($r_hd['ngay_tao']));?></small> </h2> </div> <!-- /.col --> </div> <!-- info row --> <div class="row invoice-info"> <div class="col-sm-4 invoice-col"> Nhà cung cấp dịch vụ: <address> <strong>CÔNG TY TNHH KVV ANH VŨ</strong><br> 58 Ä‘Æ°á»ng SÆ° Vạn Hạnh, KDC Sao Mai, P.Bình Khánh<br> Tp. Long Xuyên, An Giang<br> Mobile: 0947973379<br> Email: info@kvvanhvu.com </address> </div> <!-- /.col --> <div class="col-sm-4 invoice-col"> Thông tin khách hà ng: <address> <strong><?php echo $row_customer['customer_fullname'];?></strong><br> <?php echo $row_customer['customer_address'];?><br> Mobile: <?php echo $row_customer['customer_mobile'];?><br> Email: <?php echo $row_customer['customer_email'];?> </address> </div> <!-- /.col --> <div class="col-sm-4 invoice-col"> <b>Hóa Ä‘Æ¡n số: #<?php echo $hd_id;?></b><br> <br> <b>Mã hóa Ä‘Æ¡n:</b> <?php echo $r_hd['hoa_don_code'];?><br> <b>Hạn thanh toán:</b> <?php echo date('d-m-Y',strtotime($r_hd['ngay_gia_han']));?><br> <b>Mã khách hà ng:</b> <?php echo $row_check_service['customer_id'];?> </div> <!-- /.col --> </div> <!-- /.row --> <div class="row"> <!-- accepted payments column --> <div class="col-6"> <p class="lead">PhÆ°Æ¡ng thức thanh toán:</p> <img src="layout/adminlte320rc/dist/img/credit/visa.png" alt="Visa"> <img src="layout/adminlte320rc/dist/img/credit/mastercard.png" alt="Mastercard"> <img src="layout/adminlte320rc/dist/img/credit/american-express.png" alt="American Express"> <img src="layout/adminlte320rc/dist/img/credit/paypal2.png" alt="Paypal"> <p class="text-muted well well-sm shadow-none" style="margin-top: 10px;"> Chuyển khoản ngân hà ng </p> </div> <!-- /.col --> <div class="col-6"> <p class="lead">Ngà y tạo hóa Ä‘Æ¡n: <?php echo date('d-m-Y',strtotime($r_hd['ngay_tao']));?></p> <div class="table-responsive"> <table class="table"> <tr><th>Dịch vụ</th><th>Số lượng</th><th>ÄÆ¡n giá</th><th>Thà nh tiá»n</th> </tr> <tr> <th><?php echo $row_check_service['service_title'];?></th> <td><?php echo $r_hd['so_luong'];?></td> <td><?php echo $fmt->formatCurrency($r_hd['so_tien'],'VND');?></td> <td><?php echo $fmt->formatCurrency($r_hd['tong_tien'],'VND');?></td> </tr> <tr><td colspan="4">Giá trên đã bao gồm giảm giá và VAT (10%)</td></tr> </table> </div> </div> <!-- /.col --> </div> <!-- /.row --> </section> <!-- /.content --> </div> <!-- ./wrapper --> <!-- Page specific script --> <script> /*window.addEventListener("load", window.print());*/ </script> </body> </html>