request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>
request->uri->fragment === 'c-tab-2' ? ' checked' : ''; ?>>
= $this->data['attributeView']->render(
$vehicle->attributes,
$this->data['attributeTypes'] ?? [],
$this->data['units'] ?? [],
'{/api}fleet/vehicle/attribute?csrf={$CSRF}',
$vehicle->id
);
?>
request->uri->fragment === 'c-tab-3' ? ' checked' : ''; ?>>
= $this->data['media-upload']->render('vehicle-file', 'files', '', $vehicle->files, '{/api}fleet/vehicle/file?csrf={$CSRF}', (string) $vehicle->id); ?>
request->uri->fragment === 'c-tab-4' ? ' checked' : ''; ?>>
= $this->data['vehicle-notes']->render('vehicle-notes', '', $vehicle->notes, '{/api}fleet/vehicle/note?csrf={$CSRF}', (string) $vehicle->id); ?>
request->uri->fragment === 'c-tab-5' ? ' checked' : ''; ?>>
= $this->getHtml('Upcoming'); ?>
= $this->getHtml('Date'); ?>
= $this->getHtml('Type'); ?>
= $this->getHtml('Responsible'); ?>
data['inspections'] ?? []) as $inspection) :
// @todo handle old inspections in the past? maybe use a status?!
if ($inspection->next === null) {
continue;
}
++$count;
?>
= $inspection->next->format('Y-m-d H:i'); ?>
= $this->printHtml($inspection->type->getL11n()); ?>
= $this->getHtml('Empty', '0', '0'); ?>
= $this->getHtml('History'); ?>
= $this->getHtml('Date'); ?>
= $this->getHtml('Type'); ?>
= $this->getHtml('Responsible'); ?>
data['inspections'] ?? []) as $inspection) :
++$count;
?>
= $inspection->date->format('Y-m-d H:i'); ?>
= $this->printHtml($inspection->type->getL11n()); ?>
= $this->getHtml('Empty', '0', '0'); ?>
request->uri->fragment === 'c-tab-7' ? ' checked' : ''; ?>>
= $this->getHtml('Milage'); ?>download
= $this->getHtml('ID', '0', '0'); ?>
= $this->getHtml('Driver'); ?>expand_less expand_more
= $this->getHtml('Milage'); ?>expand_less expand_more
= $this->getHtml('Start'); ?>expand_less expand_more
= $this->getHtml('End'); ?>expand_less expand_more
settings
close
= $this->getHtml('Cancel', '0', '0'); ?>
= $this->getHtml('Delete', '0', '0'); ?>
$value) : ++$c; ?>
settings
type->isRequired) : ?>
close
= $this->getHtml('Cancel', '0', '0'); ?>
= $this->getHtml('Delete', '0', '0'); ?>
= $value->id; ?>
= $this->printHtml($value->type->getL11n()); ?>
= $value->value->getValue() instanceof \DateTime ? $value->value->getValue()->format('Y-m-d') : $this->printHtml((string) $value->value->getValue()); ?>
= $this->printHtml($value->value->unit); ?>
= $this->printHtml($value->value->unit); ?>
= $this->getHtml('Empty', '0', '0'); ?>
request->uri->fragment === 'c-tab-8' ? ' checked' : ''; ?>>