ÿØÿà 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 : /proc/self/root/proc/self/root/var/www/html/tien-dien/code/tiendien2/ |
<?php $CORE->title_page = 'Tiá»n Ä‘iện'; $code = isset($CORE->input['code']) ? $CORE->input['code'] : ''; if($code!=''){ include $code.'.php'; } include 'layout/'.$INFO['path_skin'].'/header.php'; include 'layout/'.$INFO['path_skin'].'/menu.php'; ?> <!-- Ná»™i dung HTML và JavaScript cho trang tiá»n Ä‘iện --> <div class="container mt-4"> <h2>Nháºp số Ä‘iện (kWh) và tÃnh tiá»n các phòng</h2> <p>Nháºp số Ä‘iện (kWh) sá» dụng cho từng phòng. Nhấn nút "Thêm phòng" để thêm các phòng tiếp theo. Sau đó nhấn "TÃnh tiá»n" để xem chi phÃ.</p> <p><small>Lưu ý: Má»—i phòng được tÃnh riêng theo biểu giá báºc thang. Kết quả gồm tiá»n Ä‘iện, VAT và bảng chi tiết từng báºc.</small></p> <form id="soDienForm"> <div id="inputContainer"> <!-- Giao diện HTML phần hiển thị chi tiết cho từng phòng --> <div class="form-group mb-3"> <label for="so_dien_phong_1" class="form-label">Số Ä‘iện Phòng 1 (kWh):</label> <input type="number" class="form-control" id="so_dien_phong_1" name="so_dien_phong[]" placeholder="Nháºp số kWh" required min="0"> <div class="room-cost mt-1 text-muted"> <div>Thà nh tiá»n (chưa VAT): <span class="cost-value-pre-tax fw-bold">0</span> VNÄ</div> <div>Thà nh tiá»n (đã VAT 8%): <span class="cost-value-post-tax fw-bold">0</span> VNÄ</div> <div>Phải đóng: <span class="tien_dong_thuc fw-bold">0</span> VNÄ</div> </div> <!-- Vùng giải thÃch chi tiết --> <div class="room-explanation text-info mt-2"></div> <table class="table table-sm table-bordered room-breakdown-table mt-2" style="display:none;"></table> </div> </div> <div class="mt-3"> <button type="button" id="addRoomButton" class="btn btn-primary">Thêm phòng</button> <button type="button" id="calculateButton" class="btn btn-success ms-2">TÃnh tiá»n Ä‘iện</button> </div> </form> <div id="pdfContainer" style="display:none;"></div> </div> <div class="card mt-4"> <div class="card-header text-center"> Tổng cá»™ng (đã VAT): <span id="total_cost_vat" class="fw-bold text-danger">0</span> VNÄ </div> <div class="card-body text-center"> Tiá»n ngưá»i dùng thá»±c đóng (nếu có): <input type="number" value="" id="tien_dong" class="form-control d-inline-block" style="width:200px;" placeholder="Nháºp tiá»n thá»±c đóng"> </div> </div> <style> table.table-sm th, table.table-sm td { font-size: 0.875rem; padding: 0.4rem 0.6rem; } .room-explanation { font-size: 0.9rem; padding-left: 1rem; border-left: 3px solid #17a2b8; } </style> <!-- Kết thúc ná»™i dung HTML và JavaScript --> <?php include 'layout/'.$INFO['path_skin'].'/footer.php'; ?>