transactions
This commit is contained in:
@@ -76,7 +76,14 @@
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label>Destination account</label>
|
||||
<select v-model="transaction.beneficiary" class="form-control" v-if="dictUserAccounts.length">
|
||||
<option v-for="account in dictUserAccounts" :key="account.id" :value="account">{{ account.name }}</option>
|
||||
</select>
|
||||
<label>Unsettled Balance:</label>
|
||||
<input type="text" class="form-control" :value="calculateUnsettledBalance()" readonly />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<button type="button" @click="addTransactionItem" class="btn btn-success">Add Transaction Item</button>
|
||||
<div class="table-responsive">
|
||||
@@ -84,7 +91,7 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><span></span></th>
|
||||
<th scope="col"><span>Locked</span></th>
|
||||
<!-- <th scope="col"><span>Locked</span></th>-->
|
||||
<th scope="col"><span>Account</span></th>
|
||||
<th scope="col"><span>Amount</span></th>
|
||||
<th scope="col"><span>Comment</span></th>
|
||||
@@ -96,9 +103,9 @@
|
||||
<td>
|
||||
{{ item.id }}
|
||||
</td>
|
||||
<td>
|
||||
<input type="checkbox" v-model="item.locked" class="form-check-input" />
|
||||
</td>
|
||||
<!-- <td>-->
|
||||
<!-- <input type="checkbox" v-model="item.locked" class="form-check-input" />-->
|
||||
<!-- </td>-->
|
||||
<td>
|
||||
<select v-model="item.userAccount" class="form-control" v-if="dictUserAccounts.length">
|
||||
<option v-for="account in dictUserAccounts" :key="account.id" :value="account">{{ account.name }}</option>
|
||||
@@ -118,10 +125,6 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Unsettled Balance:</label>
|
||||
<input type="text" class="form-control" :value="calculateUnsettledBalance()" readonly />
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<button type="button" id="cancel-save" data-cy="entityCreateCancelButton" class="btn btn-secondary" @click="previousState()">
|
||||
|
||||
Reference in New Issue
Block a user