Skip to content
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

feat: add history transaction #8

Merged
merged 13 commits into from
Dec 2, 2024
Merged

feat: add history transaction #8

merged 13 commits into from
Dec 2, 2024

Conversation

nisrinasalm
Copy link
Collaborator

@nisrinasalm nisrinasalm commented Nov 22, 2024

Description & Technical Solution

This pull request includes several changes to the codebase, focusing on adding new features, enhancing existing functionalities, and updating dependencies. The most important changes include the addition of a new TransactionController, updates to the date picker components, and modifications to the cart checkout process. Below is a summary of the most critical changes:

New Features:

  • TransactionController: Added a new TransactionController with an index method to handle transaction listing and filtering by category and date range. (app/Http/Controllers/TransactionController.php)

Enhancements:

  • Cart Checkout: Updated the checkout method in CartController to redirect to the transaction index route upon successful checkout. (app/Http/Controllers/CartController.php)
  • Date Picker Components: Enhanced the RangeDatePicker component to support clearing selected dates and improved the styling. (resources/js/Components/Forms/RangeDatepicker.tsx) [1] [2] [3] [4] [5] [6]

Dependency Updates:

  • date-fns: Added date-fns version 4.1.0 to package.json and updated the pnpm-lock.yaml file accordingly. (package.json, pnpm-lock.yaml) [1] [2] [3] [4]

UI Improvements:

  • Navbar: Added a new link to the transaction index page in the navbar for authenticated users with the "user" role. (resources/js/Layouts/Navbar.tsx)
  • Product Index Page: Improved the layout and filtering functionality of the product index page. (resources/js/Pages/Product/Index.tsx) [1] [2] [3] [4]

These changes collectively enhance the functionality and user experience of the application, providing better transaction management and more flexible date filtering options.

Dependency Updates:

Miscellaneous:

Checklist

  • I have commented on my code, particularly in hard-to-understand areas.
  • Already rebased against the main branch.

Deployment Links To Test

/history

Screenshots

Order.List.-.Furnixy.1.mp4

@nisrinasalm nisrinasalm requested a review from ainunns November 22, 2024 09:47
This was linked to issues Nov 22, 2024
@ainunns ainunns removed a link to an issue Nov 27, 2024
@ainunns ainunns force-pushed the is7-history_transaction branch 3 times, most recently from be3f453 to 0c49bfb Compare November 28, 2024 01:47
@nisrinasalm nisrinasalm force-pushed the is7-history_transaction branch from 0c49bfb to 67b74a3 Compare November 28, 2024 07:25
@ainunns ainunns force-pushed the is7-history_transaction branch from 36ebf0c to 4de7880 Compare December 1, 2024 17:56
@ainunns ainunns force-pushed the is7-history_transaction branch from 4de7880 to 82e4033 Compare December 1, 2024 18:11
@ainunns ainunns merged commit 3c2f6f0 into main Dec 2, 2024
1 check passed
@ainunns ainunns deleted the is7-history_transaction branch December 2, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

history transaction
2 participants