-
Notifications
You must be signed in to change notification settings - Fork 150
Add basic Group Order Invoices Feature #1207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Introduces the Foodsoft Invoices plugin with essential features: - Basic infrastructure and initialization. - Configuration for enabling/disabling the plugin. - Gem dependencies and versioning. This serves as the foundation for further invoice-related functionalities.
Adds detailed views and actions for group order invoices: - Introduces clickable expandable rows in the orders table. - Includes styles for better UI representation of invoice states. - Extends the `GroupOrder` model with invoice association. - Adds locale support for both English and German. - Enables invoices-related partials for order management features.
Adds `Foodsoft::AssetRegistry` to handle dynamic asset registration. Updates layout to use registered assets for stylesheets and scripts. Ensures registered assets are precompiled after initialization.
Registers `foodsoft_invoices` stylesheets and scripts dynamically using `Foodsoft::AssetRegistry`. Removes static asset references from application manifest files.
Adds `tax_number` and `use_invoices` configurations to app sample config. Introduces options for group order invoices, including VAT exemptions. Adds invoice plugin reference to Gemfile.
Adds controller actions and routes for group order invoices: - Allows toggling of statuses (paid, SEPA downloaded). - Adds bulk actions for SEPA and paid states. Introduces views and handling for invoice creation and deletion. Includes download functionality for individual and bulk invoices.
Introduces PDF generation for group order invoices. Includes dynamic localization for invoice details and table structures. Adds support for both VAT-exempt and detailed taxation breakdowns.
Ensures proper functionality and confirmation prompt for deletion.
Enables toggling of the "paid" status via UI for group order invoices. Adds partial and JavaScript rendering for seamless status updates.
Removes support for SEPA sequence type management and downloads: - Deletes SEPA-specific helper constants, routes, and actions. - Removes related front-end views and partials. - Cleans up locale entries and model methods. Streamlines the invoice plugin by focusing on core functionalities.
Introduces route, view, and controller support for bulk creation. Provides form and modal updates for improved UI interaction.
Restores functionality to toggle all invoices as paid/unpaid in bulk. Adds downloadable zip for all group order invoices. Updates locales.
Introduces `file` time format (%Y-%d-%B) in multiple locale files. Supports consistent date formatting in generated file names.
Adds Dutch (nl) locale file for group order invoice functionality. Updates English (en) locale file with fixes and refinements.
Includes foodsoft_invoices gem in Gemfile and Gemfile.lock. Adds unit tests for GroupOrderInvoice ensuring validation and uniqueness.
Adds `null: false` constraint to `paid` and `sepa_downloaded` fields. Ensures data integrity by explicitly disallowing null values.
Adds step to apply plugin migrations and run `db:migrate` in CI. Ensures database schema is up-to-date before running tests.
Adapt to original ported version.
Refactors GroupOrderInvoicePdf to enhance readability and maintainability. Includes modular methods for VAT and VAT-exempt invoice handling. Adds RSpec coverage for newly introduced methods and logic.
Adds detailed configuration options with examples. Includes steps for running migrations and clarifies maintainers.
Replaces links with checkboxes for toggling individual and bulk invoice status. Adds locale entries for new confirmation messages and updates translations.
Closing in favor of #1211 which includes these changes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Introduces the initial basic implementation of the Group Order Invoices feature, alongside various supportive functionalities. Most parts of the code are ported from https://git.local-it.org/Foodsoft/foodsoft/src/branch/automatic_group_order_invoice.
Features
Foodsoft::AssetRegistry
.Localization
Tests
Missing features
Checklist