|
| 1 | +<?php |
| 2 | + |
| 3 | +use app\core\Application; |
| 4 | +use app\models\CusTechReq; |
| 5 | + |
| 6 | +?> |
| 7 | + |
| 8 | +<!DOCTYPE html> |
| 9 | +<html lang="en"> |
| 10 | + |
| 11 | +<head> |
| 12 | + <meta charset="UTF-8"> |
| 13 | + <meta name="viewport" |
| 14 | + content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> |
| 15 | + <meta http-equiv="X-UA-Compatible" content="ie=edge"> |
| 16 | + <title>Customer Dashboard</title> |
| 17 | + <link rel="stylesheet" href="/css/technician/technician-dashboard.css"> |
| 18 | + <link rel="stylesheet" href="/css/technician/overlay.css"> |
| 19 | + <link rel="stylesheet" href="/css/technician/technician-transactions.css"> |
| 20 | +</head> |
| 21 | + |
| 22 | +<body> |
| 23 | +<?php |
| 24 | +include_once 'components/sidebar.php'; |
| 25 | +include_once 'components/header.php'; |
| 26 | +?> |
| 27 | +<div class="container"> |
| 28 | + <div class="header"> |
| 29 | + <div class="header-item"> |
| 30 | + <div class="total-payments"> |
| 31 | + <p>Total Payments</p> |
| 32 | + <h2>LKR 430.00</h2> |
| 33 | + <small>as of 01-August 2024</small> |
| 34 | + </div> |
| 35 | + </div> |
| 36 | + <div class="header-item"> |
| 37 | + <div class="pending-payments"> |
| 38 | + <p>Pending Payments</p> |
| 39 | + <h2>LKR 100.00</h2> |
| 40 | + <small>as of 01-August 2024</small> |
| 41 | + </div> |
| 42 | + </div> |
| 43 | + </div> |
| 44 | + |
| 45 | + <div class="payment-history"> |
| 46 | + <h3>Payment History</h3> |
| 47 | + <div class="tabs"> |
| 48 | + <button class="tab-button active">All</button> |
| 49 | + <button class="tab-button">Complete</button> |
| 50 | + <button class="tab-button">Pending</button> |
| 51 | + <button class="tab-button">Rejected</button> |
| 52 | + </div> |
| 53 | + |
| 54 | + <table> |
| 55 | + <thead> |
| 56 | + <tr> |
| 57 | + <th>Order ID</th> |
| 58 | + <th>Date</th> |
| 59 | + <th>Amount</th> |
| 60 | + <th>Payment Method</th> |
| 61 | + <th>Status</th> |
| 62 | + </tr> |
| 63 | + </thead> |
| 64 | + <tbody> |
| 65 | + <tr> |
| 66 | + <td>#15267</td> |
| 67 | + <td>Mar 1, 2023</td> |
| 68 | + <td>LKR 100</td> |
| 69 | + <td>1502******4832</td> |
| 70 | + <td class="success">Success</td> |
| 71 | + </tr> |
| 72 | + <tr> |
| 73 | + <td>#153587</td> |
| 74 | + <td>Jan 26, 2023</td> |
| 75 | + <td>LKR 300</td> |
| 76 | + <td>1502******1132</td> |
| 77 | + <td class="success">Success</td> |
| 78 | + </tr> |
| 79 | + <tr> |
| 80 | + <td>#12436</td> |
| 81 | + <td>Feb 12, 2023</td> |
| 82 | + <td>LKR 100</td> |
| 83 | + <td>1256******4832</td> |
| 84 | + <td class="success">Success</td> |
| 85 | + </tr> |
| 86 | + <tr> |
| 87 | + <td>#16879</td> |
| 88 | + <td>Feb 12, 2023</td> |
| 89 | + <td>LKR 500</td> |
| 90 | + <td>1502******6789</td> |
| 91 | + <td class="success">Success</td> |
| 92 | + </tr> |
| 93 | + <tr> |
| 94 | + <td>#16378</td> |
| 95 | + <td>Feb 28, 2023</td> |
| 96 | + <td>LKR 500</td> |
| 97 | + <td>1502******4832</td> |
| 98 | + <td class="rejected">Rejected</td> |
| 99 | + </tr> |
| 100 | + <tr> |
| 101 | + <td>#16609</td> |
| 102 | + <td>March 13, 2023</td> |
| 103 | + <td>LKR 100</td> |
| 104 | + <td>1502******4832</td> |
| 105 | + <td class="pending">Pending</td> |
| 106 | + </tr> |
| 107 | + <tr> |
| 108 | + <td>#16907</td> |
| 109 | + <td>March 18, 2023</td> |
| 110 | + <td>LKR 100</td> |
| 111 | + <td>1502******4832</td> |
| 112 | + <td class="success">Success</td> |
| 113 | + </tr> |
| 114 | + </tbody> |
| 115 | + </table> |
| 116 | + |
| 117 | + <div class="pagination"> |
| 118 | + <span>10 per page</span> |
| 119 | + <div class="page-info"> |
| 120 | + <span>1 of 1 pages</span> |
| 121 | + </div> |
| 122 | + </div> |
| 123 | + </div> |
| 124 | +</div> |
| 125 | +<body> |
| 126 | + |
| 127 | +</body> |
| 128 | +<!-- Overlay for the confirmation message --> |
| 129 | +<div id="signOutOverlay" class="overlay"> |
| 130 | + <div class="overlay-content"> |
| 131 | + <p>Are you sure you want to sign out?</p> |
| 132 | + <button id="confirmSignOut" class="btn"><a href="/customer-logout"></a> Yes</button> |
| 133 | + <button id="cancelSignOut" class="btn">No</button> |
| 134 | + </div> |
| 135 | +</div> |
| 136 | +<!-- Icons--> |
| 137 | +<script type="module" src="https://unpkg.com/ [email protected]/dist/ionicons/ionicons.esm.js"></script> |
| 138 | +<script nomodule src="https://unpkg.com/ [email protected]/dist/ionicons/ionicons.js"></script> |
| 139 | +<script src="/js/technician/technician-dashboard.js"></script> |
| 140 | +<script src="/js/technician/technician-home.js"></script> |
| 141 | +<script src="/js/technician/overlay.js"></script> |
| 142 | +<script src="/js/technician/technician-transactions.js"></script> |
| 143 | +</body> |
| 144 | + |
| 145 | +</html> |
0 commit comments