mirror of
https://github.com/bitwarden/browser
synced 2025-12-31 07:33:23 +00:00
[AC-1706] Show Discounted Prices (#6668)
* Removed subscription copy from org and individual * Discount all prices in subscription components
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
<bit-table>
|
||||
<ng-template body>
|
||||
<ng-container *ngIf="subscription">
|
||||
<tr bitRow *ngFor="let i of lineItems">
|
||||
<tr bitRow *ngFor="let i of subscriptionLineItems">
|
||||
<td bitCell [ngClass]="{ 'tw-pl-20': i.addonSubscriptionItem }">
|
||||
<span *ngIf="!i.addonSubscriptionItem">{{ i.productName }} -</span>
|
||||
{{ i.name }} {{ i.quantity > 1 ? "×" + i.quantity : "" }} @
|
||||
@@ -79,17 +79,6 @@
|
||||
{{ i.quantity * i.amount | currency : "$" }} /{{ i.interval | i18n }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr bitRow *ngIf="discount && discount.active">
|
||||
<td bitCell colspan="2">
|
||||
<small>
|
||||
{{ "customBillingStart" | i18n }}
|
||||
<a routerLink="/settings/subscription/billing-history">
|
||||
{{ "billingHistory" | i18n }}
|
||||
</a>
|
||||
{{ "customBillingEnd" | i18n }}
|
||||
</small>
|
||||
</td>
|
||||
</tr>
|
||||
</ng-container>
|
||||
<ng-container *ngIf="userOrg.isFreeOrg">
|
||||
<tr bitRow *ngIf="userOrg.usePasswordManager">
|
||||
@@ -150,6 +139,7 @@
|
||||
<sm-subscribe-standalone
|
||||
[plan]="sub.plan"
|
||||
[organization]="userOrg"
|
||||
[customerDiscount]="customerDiscount"
|
||||
(onSubscribe)="subscriptionAdjusted()"
|
||||
></sm-subscribe-standalone>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user