diff --git a/src/app/fyle/my-view-report/my-view-report.page.html b/src/app/fyle/my-view-report/my-view-report.page.html index 9345133e70..29a13b3051 100644 --- a/src/app/fyle/my-view-report/my-view-report.page.html +++ b/src/app/fyle/my-view-report/my-view-report.page.html @@ -170,21 +170,28 @@
- No expense in this report -
Looks like this report is empty.
+
+ No expense in this report +
+
Looks like you’ve got
+
0 expense right now
+
+
diff --git a/src/app/fyle/my-view-report/my-view-report.page.scss b/src/app/fyle/my-view-report/my-view-report.page.scss index 8969457693..9fc5df2e62 100644 --- a/src/app/fyle/my-view-report/my-view-report.page.scss +++ b/src/app/fyle/my-view-report/my-view-report.page.scss @@ -56,6 +56,19 @@ } } + &--footer-container { + display: flex; + justify-content: space-between; + padding: 16px; + gap: 8px; + position: fixed; + bottom: 0; + width: 100%; + background-color: $pure-white; + box-shadow: 0 -2px 12px $pink-shadow; + z-index: 999; + } + &--card-body { font-size: 16px; color: $gray-3; @@ -350,6 +363,20 @@ font-weight: 500; } + &--zero-state-semibold-header { + font-size: 14px; + display: block; + color: $blue-black; + line-height: 1.5; + font-weight: 400; + } + + &--zero-state-image-container { + height: 150px; + width: 150px; + overflow: hidden; + } + &--history-container { background: $pure-white; border-radius: 16px; diff --git a/src/app/fyle/my-view-report/my-view-report.page.spec.ts b/src/app/fyle/my-view-report/my-view-report.page.spec.ts index add7003fe6..06d300fca8 100644 --- a/src/app/fyle/my-view-report/my-view-report.page.spec.ts +++ b/src/app/fyle/my-view-report/my-view-report.page.spec.ts @@ -930,7 +930,7 @@ describe('MyViewReportPage', () => { component.report$ = of(cloneDeep({ ...platformReportData, state: 'DRAFT' })); fixture.detectChanges(); - const addExpenseButton = getElementBySelector(fixture, '.view-reports--add-more-container') as HTMLElement; + const addExpenseButton = getElementBySelector(fixture, '#add-expense') as HTMLElement; click(addExpenseButton); expect(router.navigate).toHaveBeenCalledOnceWith([ diff --git a/src/assets/images/zero-states/invoice.png b/src/assets/images/zero-states/invoice.png new file mode 100644 index 0000000000..24fc61ae54 Binary files /dev/null and b/src/assets/images/zero-states/invoice.png differ