Skip to content

Commit

Permalink
Revert "LCSD-7008" (#4334)
Browse files Browse the repository at this point in the history
Revert "LCSD-7008 (#4330)"

This reverts commit 02f4743.
  • Loading branch information
simranjeetgit authored Dec 11, 2024
1 parent 73d7950 commit a7389b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2938,7 +2938,7 @@ <h3>LG/IN Review Complete </h3>
<!-- LG Approved OR NO LG Approvals Required -->
<ng-container *ngIf="lGHasApproved() || ((!application?.applicationType?.isShowLGINApproval && !application?.applicationType?.isShowLGZoningConfirmation) || !showSubmitToLG())">

<button mat-raised-button *ngIf="!application?.applicationType?.requiresSecurityScreening && !hasInvoiceTriggerRun()" color="primary"
<button mat-raised-button *ngIf="!application?.applicationType?.requiresSecurityScreening" color="primary"
(click)="submit_application()" [disabled]="submitApplicationInProgress">
SUBMIT&nbsp;<span *ngIf="!isFreeEndorsement() && !application?.applicationType?.isFree && !skipPayment && !isRAS()">&amp; PAY</span>
<mat-progress-bar *ngIf="submitApplicationInProgress" mode="indeterminate"></mat-progress-bar>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2028,10 +2028,4 @@ export class ApplicationComponent extends FormBase implements OnInit {
hideOcupantLoadFields(): Boolean{
return this.isOpenedByLGForApproval || this.lGHasApproved();
}

private hasInvoiceTriggerRun(): boolean {
const hasRun: boolean = (
this?.application?.invoiceTrigger === 1)
return hasRun;
}
}

0 comments on commit a7389b6

Please sign in to comment.