Renamed history_table and related fragments to loan_table
This commit is contained in:
parent
ff079abb9c
commit
c51bd1a60a
@ -626,7 +626,7 @@
|
|||||||
¤inactive_loans¤
|
¤inactive_loans¤
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
¤¤ history_table ¤¤
|
¤¤ loan_table ¤¤
|
||||||
<table class="history">
|
<table class="history">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -651,7 +651,7 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
¤¤ history_row ¤¤
|
¤¤ loan_table_row ¤¤
|
||||||
<tr>
|
<tr>
|
||||||
<td class="status ¤status¤">
|
<td class="status ¤status¤">
|
||||||
</td>
|
</td>
|
||||||
|
@ -626,7 +626,7 @@
|
|||||||
¤inactive_loans¤
|
¤inactive_loans¤
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
¤¤ history_table ¤¤
|
¤¤ loan_table ¤¤
|
||||||
<table class="history">
|
<table class="history">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -651,7 +651,7 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
¤¤ history_row ¤¤
|
¤¤ loan_table_row ¤¤
|
||||||
<tr>
|
<tr>
|
||||||
<td class="status ¤status¤">
|
<td class="status ¤status¤">
|
||||||
</td>
|
</td>
|
||||||
|
@ -226,11 +226,11 @@ abstract class Page extends Responder {
|
|||||||
'start_date' => format_date($start),
|
'start_date' => format_date($start),
|
||||||
'end_date' => format_date($end),
|
'end_date' => format_date($end),
|
||||||
'note' => $note),
|
'note' => $note),
|
||||||
$this->fragments['history_row']);
|
$this->fragments['loan_table_row']);
|
||||||
}
|
}
|
||||||
return replace(array('rows' => $rows,
|
return replace(array('rows' => $rows,
|
||||||
'item' => i18n('Product')),
|
'item' => i18n('Product')),
|
||||||
$this->fragments['history_table']);
|
$this->fragments['loan_table']);
|
||||||
}
|
}
|
||||||
|
|
||||||
final protected function build_seen_table($products, $inventory) {
|
final protected function build_seen_table($products, $inventory) {
|
||||||
|
@ -133,11 +133,11 @@ class ProductPage extends Page {
|
|||||||
'start_date' => format_date($start),
|
'start_date' => format_date($start),
|
||||||
'end_date' => format_date($end),
|
'end_date' => format_date($end),
|
||||||
'note' => $note),
|
'note' => $note),
|
||||||
$this->fragments['history_row']);
|
$this->fragments['loan_table_row']);
|
||||||
}
|
}
|
||||||
return replace(array('rows' => $rows,
|
return replace(array('rows' => $rows,
|
||||||
'item' => i18n('Borrower')),
|
'item' => i18n('Borrower')),
|
||||||
$this->fragments['history_table']);
|
$this->fragments['loan_table']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user