9 lines
379 B
PHP
9 lines
379 B
PHP
<?php $task_id = isset($values['id']) ? (int) $values['id'] : 0 ?>
|
|
<?php if ($task_id > 0): ?>
|
|
<button type="button" class="btn"
|
|
data-organon-save-close="1"
|
|
data-url="<?= $this->url->href('TaskSaveCloseController', 'update', array('plugin' => 'OrganonTweaks', 'task_id' => $task_id)) ?>">
|
|
<?= t('Save & Close') ?>
|
|
</button>
|
|
<?php endif ?>
|