data['investment'] ?? new NullInvestment(); $investmentStatus = InvestmentStatus::getConstants(); $files = $investment->files; $investmentTypes = $this->data['types'] ?? []; $isNew = $investment->id === 0; echo $this->data['nav']->render(); ?>
request->uri->fragment === 'c-tab-1' ? ' checked' : ''; ?>>
getHtml('Investment'); ?>
id === 0) : ?>
getHtml('Options'); ?> download
options as $option) : ?>
getHtml('Name'); ?> getHtml('Supplier'); ?> getHtml('Price'); ?> getHtml('Link'); ?>
approved) : ?>check printHtml($option->name); ?> supplier === null ? $this->printHtml($option->supplierName) : $option->supplier->account->name1; ?> getCurrency($option->getAmountByTypeName('costs')->sum(), '', 'medium'); ?> link)) : ?> printHtml($option->link); ?>
request->uri->fragment === 'c-tab-2' ? ' checked' : ''; ?>>
data['media-upload']->render('investment-file', 'files', '', $investment->files, '{/api}finance/investment/file?csrf={$CSRF}', (string) $investment->id); ?>
request->uri->fragment === 'c-tab-3' ? ' checked' : ''; ?>>
data['note']->render('investment-notes', '', $investment->notes, '{/api}finance/investment/note?csrf={$CSRF}', (string) $investment->id); ?>
request->uri->fragment === 'c-tab-4' ? ' checked' : ''; ?>>
options as $option) : if ($option->parent !== null) { continue; } ++$count; ?>
getHtml('Option'); ?>
attributes as $attribute) : ?>
getHtml('Attributes'); ?>
attributes)) : ?>
getHtml('Empty', '0', '0'); ?>
amountGroups as $group) : ?>
getHtml('Amounts'); ?>
getCurrency($group->sum(), '', 'medium'); ?> files)) : ?>
getHtml('Empty', '0', '0'); ?>
files as $file) : ?>
getHtml('Files'); ?>
files)) : ?>
getHtml('Empty', '0', '0'); ?>
notes as $note) : ?>
getHtml('Notes'); ?>
notes)) : ?>
getHtml('Empty', '0', '0'); ?>