2
0
mirror of https://github.com/frappe/books.git synced 2025-02-03 20:48:29 +00:00

Merge pull request #250 from 18alantom/temp

fix: Minor UI UX fixes
This commit is contained in:
Alan 2021-11-22 11:27:47 +05:30 committed by GitHub
commit 4a53e0c344
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 3 deletions

View File

@ -165,6 +165,22 @@
<div>{{ _('Grand Total') }}</div>
<div>{{ formattedValue('grandTotal') }}</div>
</div>
<div
v-if="doc.outstandingAmount > 0"
class="
flex
pl-2
justify-between
py-3
border-t
text-red-600
font-semibold
text-base
"
>
<div>{{ _('Outstanding Amount') }}</div>
<div>{{ formattedValue('outstandingAmount') }}</div>
</div>
</div>
</div>
</div>

View File

@ -107,10 +107,10 @@
:read-only="doc.submitted"
/>
</div>
<div class="text-right font-semibold text-green-700 px-3">
<div class="text-right font-semibold text-green-600 px-3">
{{ totalDebit }}
</div>
<div class="text-right font-semibold text-red-700 px-3">
<div class="text-right font-semibold text-red-600 px-3">
{{ totalCredit }}
</div>
</div>

View File

@ -30,7 +30,8 @@
meta.isSubmittable &&
doc &&
!doc.submitted &&
!doc._notInserted
!doc._notInserted &&
!(doc.cancelled || false)
"
class="ml-2 text-white text-xs"
>