added viewing of purchase being essential in transaction read
This commit is contained in:
parent
18edad5f42
commit
61aa73a486
1 changed files with 7 additions and 0 deletions
|
@ -34,6 +34,13 @@
|
|||
<label for="value">Value</label>
|
||||
<input id="value" type="text" class="form-control" placeholder="Value" name="value" value="<%= sprintf '£%.2f', $transaction->value / 100000 %>" disabled>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="value">Essential Purchase</label>
|
||||
<select id="lis" class="form-control" name="essential" disabled>
|
||||
<option value="0"<%= !$transaction->essential ? '' : ' selected' %>>Non Essential</option>
|
||||
<option value="1"<%= $transaction->essential ? ' selected' : '' %>>Essential</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="text">Category</label>
|
||||
<input id="category" type="text" class="form-control" placeholder="Uncategorised" name="category" value="<%= defined $transaction->category ? $transaction->category->category->name : 'Uncategorised' %>" disabled>
|
||||
|
|
Reference in a new issue