Improve layout of Account
This commit is contained in:
parent
a45d02f9e0
commit
58683a33fb
@ -29,16 +29,22 @@ export default {
|
|||||||
<td>
|
<td>
|
||||||
{{transaction.GroupID ? "☀" : ""}}
|
{{transaction.GroupID ? "☀" : ""}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="cutoff">
|
||||||
<a :href="'/budget/'+$store.getters.CurrentBudget.ID+'/transaction/'+transaction.ID">{{transaction.Memo}}</a>
|
<a :href="'/budget/'+$store.getters.CurrentBudget.ID+'/transaction/'+transaction.ID">{{transaction.Memo}}</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{transaction.Amount.Int / 100}}
|
{{transaction.Amount.Int / 100}}
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{transaction.Status}}
|
{{transaction.Status == "Reconciled" ? "✔" : (transaction.Status == "Uncleared" ? "" : "*")}}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</v-container>
|
</v-container>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
table {width: 100%; table-layout:fixed}
|
||||||
|
td {overflow: hidden; white-space: nowrap;}
|
||||||
|
td.cutoff {width: 100px;}
|
||||||
|
</style>
|
@ -16,7 +16,7 @@ export default {
|
|||||||
<ul>
|
<ul>
|
||||||
<li><router-link :to="'/budget/'+$store.getters.CurrentBudget.ID">Budget</router-link></li>
|
<li><router-link :to="'/budget/'+$store.getters.CurrentBudget.ID">Budget</router-link></li>
|
||||||
<li>Reports (Coming Soon)</li>
|
<li>Reports (Coming Soon)</li>
|
||||||
<li><router-link :to="'/budget/'+$store.getters.CurrentBudget.ID+'/all-accounts'">All Accounts</router-link></li>
|
<!--<li><router-link :to="'/budget/'+$store.getters.CurrentBudget.ID+'/all-accounts'">All Accounts</router-link></li>-->
|
||||||
<li>
|
<li>
|
||||||
On-Budget Accounts
|
On-Budget Accounts
|
||||||
<ul v-for="account in $store.getters.OnBudgetAccounts" class="two-valued">
|
<ul v-for="account in $store.getters.OnBudgetAccounts" class="two-valued">
|
||||||
@ -38,17 +38,11 @@ export default {
|
|||||||
<li>
|
<li>
|
||||||
Closed Accounts
|
Closed Accounts
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<!--<li>
|
||||||
<router-link :to="'/budget/'+$store.getters.CurrentBudget.ID+'/accounts'">Edit accounts</router-link>
|
<router-link :to="'/budget/'+$store.getters.CurrentBudget.ID+'/accounts'">Edit accounts</router-link>
|
||||||
</li>
|
</li>-->
|
||||||
<li>
|
<li>+ Add Account</li>
|
||||||
+ Add Account
|
<li><router-link :to="'/budget/'+$store.getters.CurrentBudget.ID+'/settings'">Budget-Settings</router-link></li>
|
||||||
</li>
|
<!--<li><router-link to="/admin">Admin</router-link></li>-->
|
||||||
<li>
|
|
||||||
<router-link :to="'/budget/'+$store.getters.CurrentBudget.ID+'/settings'">Budget-Settings</router-link>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<router-link to="/admin">Admin</router-link>
|
|
||||||
</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</template>
|
</template>
|
Loading…
x
Reference in New Issue
Block a user