mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Start improving bill overview.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div class="col" x-data="subscriptions">
|
||||
<div class="col" x-data="subscriptions" x-bind="eventListeners">
|
||||
<template x-for="group in subscriptions">
|
||||
<div class="card mb-2">
|
||||
<div class="card-header">
|
||||
@@ -62,7 +62,16 @@
|
||||
<template x-for="transaction in bill.transactions">
|
||||
<li>
|
||||
<span :title="transaction.amount" x-text="transaction.amount"></span>
|
||||
(<span title="Less or more than expected." x-text="transaction.percentage"></span>%)
|
||||
<template x-if="transaction.percentage < 0">
|
||||
<span>
|
||||
(<span :title="transaction.percentage + '% {{ __("firefly.less_than_expected") }}'" x-text="transaction.percentage"></span>%)
|
||||
</span>
|
||||
</template>
|
||||
<template x-if="transaction.percentage > 0">
|
||||
<span>
|
||||
(<span :title="transaction.percentage + '% {{ __("firefly.more_than_expected") }}'" x-text="transaction.percentage"></span>%)
|
||||
</span>
|
||||
</template>
|
||||
</li>
|
||||
</template>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user