summaryrefslogtreecommitdiff
path: root/app/Template/export/transitions.php
blob: 7cd190e039bc70bcd4a70760f4f7a8ed161c05cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<div class="page-header">
    <h2>
        <?= t('Task transitions export') ?>
    </h2>
</div>

<p class="alert alert-info"><?= t('This report contains all column moves for each task with the date, the user and the time spent for each transition.') ?></p>

<form method="get" action="?" autocomplete="off">

    <?= $this->formHidden('controller', $values) ?>
    <?= $this->formHidden('action', $values) ?>
    <?= $this->formHidden('project_id', $values) ?>

    <?= $this->formLabel(t('Start Date'), 'from') ?>
    <?= $this->formText('from', $values, $errors, array('required', 'placeholder="'.$this->inList($date_format, $date_formats).'"'), 'form-date') ?><br/>

    <?= $this->formLabel(t('End Date'), 'to') ?>
    <?= $this->formText('to', $values, $errors, array('required', 'placeholder="'.$this->inList($date_format, $date_formats).'"'), 'form-date') ?>

    <div class="form-help"><?= t('Others formats accepted: %s and %s', date('Y-m-d'), date('Y_m_d')) ?></div>

    <div class="form-actions">
        <input type="submit" value="<?= t('Execute') ?>" class="btn btn-blue"/>
    </div>
</form>