add tpl and php for return of rent in entries

This commit is contained in:
JBthePenguin 2021-06-09 15:23:16 +02:00
parent 54858e2d18
commit 08e2af1f1d
12 changed files with 100 additions and 30 deletions

View file

@ -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'));