Commit Graph

228 Commits

Author SHA1 Message Date
Mekan1206
f433fc3e41 Remove unused Blade components and templates from the Filament package to streamline the codebase. This includes deleting various components related to forms, notifications, pagination, and widgets, enhancing maintainability and reducing clutter. 2025-12-21 06:15:33 +05:00
Mekan1206
5361c00e7b images better 2025-12-21 05:31:08 +05:00
Mekan1206
5e37bd1a76 Enhance ListRecords pages with tab functionality and default sorting
- Added getTabs method to ListCardPinOrders, ListLoanOrders, and ListLoanOrderMobiles pages to display order statuses for system users.
- Implemented default sorting by 'created_at' in LoanOrdersTable and LoanOrderMobilesTable for improved data organization.
- Updated ManageCards page to ensure proper type declaration for getTitle method.
2025-12-21 05:21:53 +05:00
Mekan1206
5a53b90272 Add default sorting to CardPinOrdersTable by creation date
- Updated CardPinOrdersTable to default sort by 'created_at' in descending order for improved data visibility.
2025-12-21 05:11:21 +05:00
Mekan1206
59548a486f Enhance CardOrder model and SMS functionality
- Added unique ID generation and SMS notification upon CardOrder creation.
- Updated CardOrdersTable to default sort by creation date.
- Implemented logging for SMS sending in SmsRepository for better debugging.
2025-12-21 05:05:28 +05:00
Mekan1206
c0bfe974ad Add avatar functionality to User model
- Implemented HasAvatar contract in User model to support avatar management.
- Added getFilamentAvatarUrl method to return the default avatar URL.
2025-12-21 04:20:45 +05:00
Mekan1206
895c5f6226 Update ManageCards page and localization for card creation
- Added a label for the 'Add card' action in the ManageCards page.
- Updated Turkish translations for card creation actions and notifications to improve clarity and consistency.
2025-12-21 04:13:47 +05:00
Mekan1206
88d84ac457 Add title method to ManageCards page for improved user experience 2025-12-21 04:01:05 +05:00
Mekan1206
94ad59ce24 Enhance user role management and update Filament panel middleware
- Added new user roles: operator, operator_card, operator_loan, client, and currency_maintainer in ShieldSeeder.
- Included EnsureUserHasRole middleware in the Filament panel for improved access control.
2025-12-21 03:49:55 +05:00
Mekan1206
b1630ea623 Add policy mappings for VisaMasterPaymentOrder and OnlinePayment models 2025-12-21 03:44:14 +05:00
Mekan1206
6a700fbd4b Enhance user role checks and update card order tabs visibility
- Updated the isSystemUser method to include currency maintainers in role checks.
- Modified getTabs method in ListCardOrders to return an empty array for non-system users.
- Added a dehydrate state function for Turkmen phone numbers in UserForm schema.
2025-12-21 03:38:52 +05:00
Mekan1206
8e548126b2 Refactor VisaMasterPaymentOrdersMigrator to enhance data migration process
- Updated the migration logic to insert records into the 'visa_master_payment_orders' table.
- Improved handling of sender and receiver data by decoding JSON fields and providing fallback values.
- Added a test route in web.php to trigger the migration for debugging purposes.
2025-12-21 03:18:50 +05:00
Mekan1206
2ec9b28a60 Refactor VisaMasterPaymentOrder components and enhance seeding process
- Updated record title attribute in VisaMasterPaymentOrderResource to 'unique_id'.
- Improved schema layout in VisaMasterPaymentOrderForm and VisaMasterPaymentOrderInfolist for better user experience.
- Added 'unique_id' field to VisaMasterPaymentOrderInfolist with styling adjustments.
- Implemented BelongsToBranch interface in VisaMasterPaymentOrder model and added a boot method for loan order creation.
- Expanded FillJsonData seeder to include migration for VisaMasterPaymentOrders.
2025-12-21 02:58:15 +05:00
Mekan1206
4fc242bc7d Update dependencies and enhance components
- Added "halaxa/json-machine" dependency to composer.json.
- Updated content hash in composer.lock to reflect changes.
- Improved SpatieMediaLibraryFileEntry component documentation.
- Expanded FillJsonData seeder to include new migrators for card types, orders, and pin orders.
- Updated Tailwind CSS version in app.css.
- Refactored various JavaScript components for better performance and readability.
- Added a test route in web.php for debugging purpose
2025-12-21 02:41:27 +05:00
Mekan1206
6df3a27383 ignore database/data folder 2025-12-20 02:38:06 +05:00
Mekan1206
7111b1db09 Enhance SpatieMediaLibraryFileEntry component and update PHPStan configuration
- Added a new method to retrieve media for the entry in SpatieMediaLibraryFileEntry component.
- Updated PHPStan configuration to exclude the SpatieMediaLibraryFileEntry.php file from analysis.
2025-12-20 02:34:19 +05:00
Mekan1206
c4ee279d91 Refactor VisaMasterPaymentOrderInfolist and SpatieMediaLibraryFileEntry components
- Cleaned up imports and improved code formatting for better readability.
- Adjusted layout in VisaMasterPaymentOrderInfolist schema for consistent column spans.
- Enhanced SpatieMediaLibraryFileEntry component by streamlining property definitions and ensuring consistent formatting.
2025-12-20 02:30:36 +05:00
Mekan1206
14c4ea5791 Update subNavigationPosition in CardsCluster to Top 2025-12-20 02:28:48 +05:00
Mekan1206
01a0aa8ca1 dont ignore public/build 2025-12-20 00:56:53 +05:00
Mekan1206
97fea41b62 WIP 2025-12-20 00:40:22 +05:00
Mekan1206
5568d32a31 Update project name and enable seeders in DatabaseSeeder
- Changed project name in package-lock.json from 'backend_tbbank' to 'online'.
- Enabled UsersTableSeeder and ShieldSeeder in DatabaseSeeder for data seeding.
2025-12-20 00:29:34 +05:00
4e78ff77cc wip 2025-12-19 17:18:36 +05:00
4c0917e6ba Refactor media display logic in SpatieMediaLibraryFileEntry component
- Simplified media handling by removing the check for images only.
- Updated grid layout for media items to use a consistent column size.
- Enhanced modal functionality to open specific image previews based on item ID.
- Improved code readability by renaming variables and streamlining the foreach loop.
2025-12-09 01:40:07 +05:00
c56e3383d1 wip 2025-12-09 01:26:57 +05:00
967501d58f wip 2025-12-09 00:54:13 +05:00
88fdc3aa7f Update dependencies and refine Filament configuration
- Upgraded @tailwindcss/vite and tailwindcss to version 4.1.17 in package.json.
- Modified Vite configuration to include a new input file for Filament theme.
- Added AdvancedFileUpload component to VisaMasterPaymentOrderForm.
- Removed unused SpatieMediaLibraryFileUpload from VisaMasterPaymentOrderInfolist.
- Enhanced VisaMasterPaymentOrderInfolist schema for better layout and organization.
- Set Vite theme path in WorkPanelProvider for improved styling.
2025-12-08 21:47:06 +05:00
183916a62a add filament-upload-pro 2025-11-18 01:50:54 +05:00
a9490e132d wip 2025-11-18 01:46:06 +05:00
438e5a3f43 Add View Page for VisaMasterPaymentOrder and Update Schema
- Introduced ViewVisaMasterPaymentOrder page for displaying payment order details.
- Updated VisaMasterPaymentOrderResource to include a route for the new view page.
- Enhanced VisaMasterPaymentOrderInfolist schema to include location details and conditional visibility for notes.
- Enabled ViewAction in VisaMasterPaymentOrdersTable for accessing the new view page.
- Modified VisaMasterPaymentOrder model to allow nullable notes property.
2025-11-18 01:09:35 +05:00
cbd469c97f wip 2025-11-18 00:37:21 +05:00
bc45f2756e some stan 2025-11-18 00:34:40 +05:00
73448548e7 wip 2025-11-18 00:30:35 +05:00
f0e9767e78 wip 2025-11-18 00:23:04 +05:00
0e39450849 wip 2025-11-18 00:21:26 +05:00
4c83d41eb0 wip 2025-11-18 00:19:28 +05:00
bccf52a8fb wip 2025-11-18 00:19:04 +05:00
6e03c4d218 wip 2025-11-18 00:16:52 +05:00
53f8c893ca wip 2025-11-18 00:16:04 +05:00
52d070f4e5 wip 2025-11-18 00:13:08 +05:00
209f3899b5 wip 2025-11-18 00:11:11 +05:00
58d6ef0a9a Add navigation sort order to clusters and update profile panel sorting 2025-11-17 23:56:51 +05:00
1a0756fdca wip 2025-11-17 23:37:18 +05:00
f506972c91 wip 2025-11-16 18:05:56 +05:00
19abe08a90 wip 2025-11-16 18:04:18 +05:00
6428c9e20c wip 2025-11-16 17:29:03 +05:00
9d66f21854 wip 2025-11-16 17:27:33 +05:00
da5bb6e99b wip 2025-11-16 17:24:55 +05:00
680d5d4130 wip 2025-11-16 17:23:26 +05:00
f73a510984 wip 2025-11-16 17:20:40 +05:00
4b7c3da3d4 wip 2025-11-16 17:20:09 +05:00