mirror of
https://github.com/bitwarden/browser
synced 2025-12-23 03:33:54 +00:00
* Use payment domain * Fixing lint and test issue * Fix organization plans tax issue * PM-26297: Use existing billing address for tax calculation if it exists * PM-26344: Check existing payment method on submit
64 lines
1.9 KiB
HTML
64 lines
1.9 KiB
HTML
<app-layout>
|
|
<app-side-nav variant="secondary" *ngIf="provider$ | async as provider">
|
|
<bit-nav-logo
|
|
[openIcon]="logo$ | async"
|
|
route="."
|
|
[label]="'providerPortal' | i18n"
|
|
></bit-nav-logo>
|
|
|
|
<bit-nav-item
|
|
icon="bwi-provider"
|
|
[text]="clientsTranslationKey$ | async | i18n"
|
|
[route]="(isBillable | async) ? 'manage-client-organizations' : 'clients'"
|
|
>
|
|
<i
|
|
*ngIf="!provider.enabled && (providerPortalTakeover$ | async)"
|
|
slot="end"
|
|
class="bwi bwi-exclamation-triangle tw-text-danger"
|
|
title="{{ 'providerIsDisabled' | i18n }}"
|
|
aria-hidden="true"
|
|
></i>
|
|
</bit-nav-item>
|
|
<bit-nav-group
|
|
icon="bwi-sliders"
|
|
[text]="'manage' | i18n"
|
|
route="manage"
|
|
*ngIf="showManageTab(provider)"
|
|
>
|
|
<bit-nav-item [text]="'members' | i18n" route="manage/members"></bit-nav-item>
|
|
<bit-nav-item
|
|
[text]="'eventLogs' | i18n"
|
|
route="manage/events"
|
|
*ngIf="provider.useEvents"
|
|
></bit-nav-item>
|
|
</bit-nav-group>
|
|
<bit-nav-group
|
|
icon="bwi-billing"
|
|
[text]="'billing' | i18n"
|
|
route="billing"
|
|
*ngIf="canAccessBilling$ | async"
|
|
>
|
|
<bit-nav-item [text]="'subscription' | i18n" route="billing/subscription"></bit-nav-item>
|
|
<bit-nav-item [text]="'paymentDetails' | i18n" route="billing/payment-details"></bit-nav-item>
|
|
<bit-nav-item [text]="'billingHistory' | i18n" route="billing/history"></bit-nav-item>
|
|
</bit-nav-group>
|
|
<bit-nav-item
|
|
icon="bwi-cog"
|
|
[text]="'settings' | i18n"
|
|
route="settings"
|
|
*ngIf="showSettingsTab(provider)"
|
|
></bit-nav-item>
|
|
</app-side-nav>
|
|
|
|
<ng-container *ngIf="subscriber$ | async as subscriber">
|
|
<app-tax-id-warning
|
|
[subscriber]="subscriber"
|
|
[getWarning$]="getTaxIdWarning$"
|
|
(billingAddressUpdated)="refreshTaxIdWarning()"
|
|
>
|
|
</app-tax-id-warning>
|
|
</ng-container>
|
|
|
|
<router-outlet></router-outlet>
|
|
</app-layout>
|