Skip to content

Issue 111 & Issue 112 Create invoicing FE & BE#202

Merged
AarifLamat merged 4 commits into
mainfrom
issue-112-Create_invoicing_frontend
Jul 23, 2025
Merged

Issue 111 & Issue 112 Create invoicing FE & BE#202
AarifLamat merged 4 commits into
mainfrom
issue-112-Create_invoicing_frontend

Conversation

@loklokyx

@loklokyx loklokyx commented Jun 30, 2025

Copy link
Copy Markdown
Contributor

Change Summary

feat(invoice): Add invoice management features, download functionality, settings page

  • Implemented useDownloadInvoiceDocx hook for downloading sample invoice documents.
  • Added InvoiceDocxViewSet to generate and serve invoice documents.
  • Introduced paymentSettingsSchema for form validation.
  • Updated sidebar navigation to include settings management.
  • Configured CORS to expose Content-Disposition header for file downloads.
  • Added invoice template document.

Change Form

Fill this up (NA if not available). If a certain criteria is not met, can you please give a reason.

  • [Y] The pull request title has an issue number
  • [Y] The change works by "Smoke testing" or quick testing
  • [N] The change has tests
  • [Y] The change has documentation

Other Information

[Is there anything in particular in the review that I should be aware of?]

Screenshot

image

Related issue

…y, settings page

- Implemented `useDownloadInvoiceDocx` hook for downloading sample invoice documents.
- Added `InvoiceDocxViewSet` to generate and serve invoice documents.
- Introduced `paymentSettingsSchema` for form validation.
- Updated sidebar navigation to include settings management.
- Configured CORS to expose `Content-Disposition` header for file downloads.
- Added invoice template document.
@loklokyx loklokyx self-assigned this Jun 30, 2025
@loklokyx loklokyx added backend Task must have a back end issue enhancement New feature or request frontend Task must have a front end issue component Winter-2025 labels Jun 30, 2025
Comment thread server/api/invoice/views.py Outdated
Comment thread client/src/pages/dashboard/settings/index.tsx Outdated
- Introduced address field in the School model and updated the database schema.
- Enhanced the SchoolDataGrid component to display school addresses and added invoice download functionality.
- Updated SchoolDataTableForm to include address input for creating and editing schools.
- Modified invoice generation logic to include school address in the generated document.
- Adjusted user profile view to return school address information.
- Updated relevant serializers and validation schemas to accommodate the new address field.
- Added admin role checks for displaying certain UI elements and functionalities.
@loklokyx loklokyx requested a review from AarifLamat July 6, 2025 18:13
@AarifLamat AarifLamat merged commit d587ae6 into main Jul 23, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Task must have a back end issue component enhancement New feature or request frontend Task must have a front end issue Winter-2025

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create invoicing frontend

2 participants