Renamed history_table and related fragments to loan_table

This commit is contained in:
Erik Thuning 2024-02-28 11:32:53 +01:00
parent ff079abb9c
commit c51bd1a60a
4 changed files with 8 additions and 8 deletions

@ -626,7 +626,7 @@
¤inactive_loans¤
</div>
¤¤ history_table ¤¤
¤¤ loan_table ¤¤
<table class="history">
<thead>
<tr>
@ -651,7 +651,7 @@
</tbody>
</table>
¤¤ history_row ¤¤
¤¤ loan_table_row ¤¤
<tr>
<td class="status ¤status¤">
</td>

@ -626,7 +626,7 @@
¤inactive_loans¤
</div>
¤¤ history_table ¤¤
¤¤ loan_table ¤¤
<table class="history">
<thead>
<tr>
@ -651,7 +651,7 @@
</tbody>
</table>
¤¤ history_row ¤¤
¤¤ loan_table_row ¤¤
<tr>
<td class="status ¤status¤">
</td>

@ -226,11 +226,11 @@ abstract class Page extends Responder {
'start_date' => format_date($start),
'end_date' => format_date($end),
'note' => $note),
$this->fragments['history_row']);
$this->fragments['loan_table_row']);
}
return replace(array('rows' => $rows,
'item' => i18n('Product')),
$this->fragments['history_table']);
$this->fragments['loan_table']);
}
final protected function build_seen_table($products, $inventory) {

@ -133,11 +133,11 @@ class ProductPage extends Page {
'start_date' => format_date($start),
'end_date' => format_date($end),
'note' => $note),
$this->fragments['history_row']);
$this->fragments['loan_table_row']);
}
return replace(array('rows' => $rows,
'item' => i18n('Borrower')),
$this->fragments['history_table']);
$this->fragments['loan_table']);
}