Add budget

This commit is contained in:
Dennis Eichhorn 2017-08-20 19:26:52 +02:00
parent 15cc0d2b7a
commit 9188704c6e
3 changed files with 6 additions and 0 deletions

View File

@ -13,7 +13,9 @@
*/
return ['EventManagement' => [
'Account' => 'Account',
'Actual' => 'Actual',
'Amount' => 'Amount',
'Budget' => 'Budget',
'CoreData' => 'Core Data',
'Description' => 'Description',
'Elements' => 'Elements',

View File

@ -38,6 +38,8 @@ echo $this->getData('nav')->render(); ?>
<option value="">
</select>
<td><span class="input"><button type="button" formaction=""><i class="fa fa-book"></i></button><input type="text" id="iUser" name="user" placeholder=""></span><td><button><?= $this->getHtml('Add', 0, 0); ?></button>
<tr><td colspan="3"><label for="iBudget"><?= $this->getHtml('Budget') ?></label>
<tr><td colspan="2"><input type="text" id="iBudget" name="budget" placeholder=""><td>
<tr><td colspan="3"><input type="submit" value="<?= $this->getHtml('Create', 0, 0); ?>">
</table>
</form>

View File

@ -33,6 +33,8 @@ echo $this->getData('nav')->render(); ?>
<td><input type="datetime-local" id="iEnd" name="end" value="<?= htmlspecialchars($event->getEnd()->format('Y-m-d\TH:i:s'), ENT_COMPAT, 'utf-8'); ?>">
<tr><td colspan="2"><label for="iDescription"><?= $this->getHtml('Description') ?></label>
<tr><td colspan="2"><textarea id="iDescription" name="desc"><?= htmlspecialchars($event->getDescription(), ENT_COMPAT, 'utf-8'); ?></textarea>
<tr><td><label for="iBudget"><?= $this->getHtml('Budget') ?></label><td><label for="iActual"><?= $this->getHtml('Actual') ?></label>
<tr><td><input type="text" id="iBudget" name="budget" placeholder=""><td><input type="text" id="iActual" name="actual">
<tr><td colspan="2"><input type="submit" value="<?= $this->getHtml('Save', 0, 0); ?>">
</table>
</form>