Skip to content

Commit

Permalink
resolving the bulk reciept upload by adding the bulkfyle input (#3247)
Browse files Browse the repository at this point in the history
Co-authored-by: Snehasish <[email protected]>
  • Loading branch information
2 people authored and arjunaj5 committed Oct 29, 2024
1 parent aac7a7c commit 24798ab
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
{{ isBulkMode ? 'Bulk Mode' : 'Single Mode' }}
</div>
</div>
<div class="camera-preview__bottom-container__icon-block text-center">
<div *ngIf="allowBulkFyle" class="camera-preview__bottom-container__icon-block text-center">
<ng-container *ngIf="noOfReceipts === 0; else receiptPreviewIcon">
<div (click)="onSwitchMode()">
<img
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export class CameraPreviewComponent implements OnInit, OnChanges {

@Input() allowGalleryUploads = true;

@Input() allowBulkFyle = true;

@Input() lastCapturedReceipt: string;

@Input() noOfReceipts = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[isBulkMode]="isBulkMode"
[isOffline]="isOffline$ | async"
[allowGalleryUploads]="allowGalleryUploads"
[allowBulkFyle]="allowBulkFyle"
[lastCapturedReceipt]="lastCapturedReceipt"
[noOfReceipts]="noOfReceipts"
[isBulkModePromptShown]="isBulkModePromptShown"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ export class CaptureReceiptComponent implements OnInit, OnDestroy, AfterViewInit

@Input() allowGalleryUploads = true;

@Input() allowBulkFyle = true;

isBulkMode: boolean;

noOfReceipts = 0;
Expand Down

0 comments on commit 24798ab

Please sign in to comment.