mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
don't show tax or subtotal if there is no info on it
This commit is contained in:
parent
d959a51f36
commit
264839e27d
1 changed files with 4 additions and 4 deletions
|
@ -166,13 +166,13 @@ block content
|
|||
button.btn.btn-success(ng-click="submit()", ng-disabled="processing", sixpack-convert="payment-left-menu") #{translate("upgrade_now")}
|
||||
|
||||
.col-xs-3.pricingBreakdown
|
||||
div Subtotal
|
||||
div Tax
|
||||
div(ng-if="price.next.subtotal != price.next.total") Subtotal
|
||||
div(ng-if="price.next.tax!='0.00'") Tax
|
||||
div
|
||||
strong Total
|
||||
.col-xs-2
|
||||
div.pull-right {{price.currency.symbol}}{{price.next.subtotal}}
|
||||
div.pull-right {{price.currency.symbol}}{{price.next.tax}}
|
||||
div(ng-if="price.next.subtotal != price.next.total").pull-right {{price.currency.symbol}}{{price.next.subtotal}}
|
||||
div(ng-if="price.next.tax!='0.00'").pull-right {{price.currency.symbol}}{{price.next.tax}}
|
||||
div.pull-right
|
||||
strong {{price.currency.symbol}}{{price.next.total}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue