add tpl and php for return of rent in entries
This commit is contained in:
parent
54858e2d18
commit
08e2af1f1d
12 changed files with 100 additions and 30 deletions
|
|
@ -13,7 +13,8 @@ $output = new Output;
|
|||
$outputs = $output->listAll();
|
||||
|
||||
foreach ($outputs as $key => $value) {
|
||||
$outputs[$key]->equipment = $eqmt->get($value->equipment_id);
|
||||
$output_eqmt = $eqmt->get($value->equipment_id);
|
||||
$outputs[$key]->equipment = $output_eqmt->designation;
|
||||
}
|
||||
|
||||
$tpl->assign(compact('outputs'));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue