main
| Line | |
|---|
| 1 | <%- include('../partials/header', { title: 'Unit Created' }) %>
|
|---|
| 2 |
|
|---|
| 3 | <h1>Unit Created Successfully</h1>
|
|---|
| 4 |
|
|---|
| 5 | <div class="card">
|
|---|
| 6 | <h2>Unit Details</h2>
|
|---|
| 7 | <table class="details-table">
|
|---|
| 8 | <tr>
|
|---|
| 9 | <th>Unit Number: </th>
|
|---|
| 10 | <td><%= unit.unit_number %></td>
|
|---|
| 11 | </tr>
|
|---|
| 12 | <tr>
|
|---|
| 13 | <th>Rooms:</th>
|
|---|
| 14 | <td><%= unit.room_number %></td>
|
|---|
| 15 | </tr>
|
|---|
| 16 | <tr>
|
|---|
| 17 | <th>Floor Area:</th>
|
|---|
| 18 | <td><%= unit.floor_area %> m²</td>
|
|---|
| 19 | </tr>
|
|---|
| 20 | <tr>
|
|---|
| 21 | <th>Price:</th>
|
|---|
| 22 | <td>€<%= unit.price.toLocaleString() %></td>
|
|---|
| 23 | </tr>
|
|---|
| 24 | <tr>
|
|---|
| 25 | <th>Status: </th>
|
|---|
| 26 | <td><%= unit.status %></td>
|
|---|
| 27 | </tr>
|
|---|
| 28 | <tr>
|
|---|
| 29 | <th>Building:</th>
|
|---|
| 30 | <td><%= building.name %></td>
|
|---|
| 31 | </tr>
|
|---|
| 32 | <tr>
|
|---|
| 33 | <th>Floor:</th>
|
|---|
| 34 | <td><%= floor.floor_number %></td>
|
|---|
| 35 | </tr>
|
|---|
| 36 | </table>
|
|---|
| 37 | </div>
|
|---|
| 38 |
|
|---|
| 39 | <div class="form-actions">
|
|---|
| 40 | <a href="/admin/create-unit?floor_id=<%= floor.floor_id %>" class="btn">Add Another Unit</a>
|
|---|
| 41 | <a href="/admin/floors?building_id=<%= building.building_id %>" class="btn btn-secondary">Back to Floors</a>
|
|---|
| 42 | <a href="/admin" class="btn btn-secondary">Back to Dashboard</a>
|
|---|
| 43 | </div>
|
|---|
| 44 |
|
|---|
| 45 | |
|---|
Note:
See
TracBrowser
for help on using the repository browser.