-
request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>
-
-
-
-
- = $this->getHtml('Profile'); ?>
-
-
- = $this->getHtml('Name'); ?>
-
-
-
-
- = $this->getHtml('Status'); ?>
-
-
- status ? ' selected' : ''; ?>>= $this->getHtml(':status-d' . $status); ?>
-
-
-
-
-
- = $this->getHtml('Make'); ?>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
request->uri->fragment === 'c-tab-2' ? ' checked' : ''; ?>>
-
-
- = $this->data['attributeView']->render(
- $driver->attributes,
- $this->data['attributeTypes'] ?? [],
- [],
- '{/api}fleet/driver/attribute?csrf={$CSRF}',
- $driver->id
- );
- ?>
-
-
-
-
request->uri->fragment === 'c-tab-3' ? ' checked' : ''; ?>>
-
- = $this->data['media-upload']->render('driver-file', 'files', '', $driver->files); ?>
-
-
-
request->uri->fragment === 'c-tab-4' ? ' checked' : ''; ?>>
-
- = $this->data['driver-notes']->render('driver-notes', '', $driver->notes); ?>
-
-
-
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;
- }
- ?>
-
- = $inspection->next->format('Y-m-d H:i'); ?>
- = $this->printHtml($inspection->type->getL11n()); ?>
-
-
-
-
-
-
-
-
- = $this->getHtml('History'); ?>
-
-
-
- = $this->getHtml('Date'); ?>
- = $this->getHtml('Type'); ?>
- = $this->getHtml('Responsible'); ?>
-
- data['inspections'] as $inspection) : ?>
-
- = $inspection->date->format('Y-m-d H:i'); ?>
- = $this->printHtml($inspection->type->getL11n()); ?>
-
-
-
-
-
-
-
-
-
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' : ''; ?>>
-
-