ÿØÿà 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/home/ |
<?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'; ?> <ul class="nav nav-tabs"> <li class="nav-item"> <a class="nav-link <?php echo ((isset($CORE->input['act']) and ($CORE->input['act']=='' or $CORE->input['act']=='home')) or !isset($CORE->input['act'])) ? 'active' : ''; ?>" href="/">Tiá»n Ä‘iện</a> </li> <li class="nav-item"> <a class="nav-link <?php echo (isset($CORE->input['act']) and $CORE->input['act']=='tiennuoc') ? 'active' : ''; ?>" href="/?act=tiennuoc">Tiá»n nước</a> </li> </ul> <!-- Ná»™i dung HTML và JavaScript cho trang tiá»n Ä‘iện --> <div class="container mt-4"> <h5 class="text-center">Nháºp số Ä‘iện (kWh) và tên phòng để tÃnh tiá»n các phòng</h5> <p>Nháºp tên và số Ä‘iện (kWh) sá» dụng cho từng phòng. Nhấn "Thêm phòng" để thêm phòng má»›i, 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"> <div class="form-group mb-3 room-group"> <label for="ten_phong_1" class="form-label">Tên phòng 1:</label> <input type="text" class="form-control ten-phong-input mb-2" id="ten_phong_1" name="ten_phong[]" placeholder="Nháºp tên phòng" /> <label for="so_dien_phong_1" class="form-label">Số Ä‘iện Phòng 1 (kWh):</label> <input type="number" class="form-control so-dien-input" 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> <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"> <i class="fas fa-plus"></i> Thêm phòng </button> <button type="button" id="calculateButton" class="btn btn-success ms-2"> <i class="far fa-calculator"></i> TÃnh tiá»n Ä‘iện </button> <button type="button" id="saveValuesButton" class="btn btn-warning ms-2"> <i class="fas fa-save"></i> Lưu giá trị đã tÃnh </button> </div> <div id="savedLinkContainer" class="mt-3" style="word-break: break-word;"></div> </form> <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> </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'; ?>