Commit Graph

35 Commits

Author SHA1 Message Date
e2cf5bb19e Renamed job associations for operator and costumer 2024-10-02 09:04:17 +02:00
f5eece52ee Bugfix job role info allocation 2024-10-02 08:32:47 +02:00
5b60eb64ad Added has_many assoziations for creator and cashier to jobs, fixed all views according to that changes. Implemented allocation of roles infos when status changes in job model. 2024-10-01 17:45:52 +02:00
0f877456a4 Added sort function in admin/jobs index 2024-09-23 10:16:16 +02:00
bd58c9d0c6 Added counter_cache for user jobs, replaced count with size to use cache. 2024-09-17 23:36:45 +02:00
8bef03c2ce Added report csv epxort to job model 2024-09-17 15:50:13 +02:00
d6d8563af3 Added validation of cost_center if intern is selected 2024-09-14 01:31:25 +02:00
fadcea03c0 Added validation for costum_qm_plan 2024-09-11 06:10:42 +02:00
2814995ac7 Fixed price calculation after changing costum_qm 2024-09-10 00:20:07 +02:00
a3b7ff708c Force job costumer.firstname and lastname from costumer reference 2024-09-09 15:18:30 +02:00
c195cd3b22 Many Changes: Rename privacy_policy, fixed seed.rb, fixed status in migration file, created new job for operator 2024-09-09 14:35:07 +02:00
ba4331c252 changed enum to string in user and job model 2024-09-07 23:24:07 +02:00
017d6d25ae Updated seed and model costumer association 2024-08-28 21:33:22 +02:00
4bbb5926b1 Added info 2024-08-28 16:41:52 +02:00
e23b41b950 Added authentication_zero 2024-08-26 19:20:06 +02:00
ad781b18cf Implemented turbo_stream for operator jobs 2024-08-15 18:19:15 +02:00
3be019b58b Implemented status changes operator index 2024-08-13 23:37:31 +02:00
eaf7fdd2be Number of plans can no be incremented or decremented 2024-08-13 13:00:59 +02:00
ead82a9222 Worked on operator view 2024-08-13 04:42:17 +02:00
a3373e0288 Started with operator index 2024-08-12 04:22:54 +02:00
6522ab0339 Renamed status ready_to_pickup to just pickup 2024-08-11 16:53:28 +02:00
083ec5253a Fixed icons in table 2024-08-10 19:56:32 +02:00
33db74df71 Added cost and cost_qm in job model
Changes to the migration file makes it necessary to reimport the
database: db:drop db:create db:migrate db:seed
2024-08-08 22:28:12 +02:00
616bd0cbe7 Added pdf analyzer
Analyzer should be moved to ActiveStorage::Analyzer
First there are many bugs with ActiveStorage that needs to be fixed:
Files are not deleted if job is destroyed (dependent: :purge is set)
If a new file is uploaded the old file is not deleted
(has_one_attechment)
2024-08-08 13:56:36 +02:00
acc5790663 Added eager loading 2024-08-04 21:33:30 +02:00
72b93a27ab Moved broadcast logic to the job controller 2024-08-04 20:15:20 +02:00
54e0cd5e45 Added edit and cancel button 2024-08-04 13:26:31 +02:00
ed0c4408ca Added broadcast to jobs create and update 2024-08-04 12:12:16 +02:00
690ac30b7a Changed order of jobs, removed table row id 2024-08-02 18:46:45 +02:00
c5e55eb410 Added job attributes, fixed seeds.rb
Added some attributes like status_changed_at. Refactored migration
files.
Changes to the migration file makes it necessary to reimport the
database: db:drop, db:create, db:migrate, db:seed
2024-08-02 13:47:44 +02:00
f7a60a90d8 Added pdf file upload 2024-08-01 23:15:05 +02:00
69bca2d99e Some layout and model changes 2024-08-01 15:45:09 +02:00
e3d5d97c6c Worked on layout, added model funktions, changed database
Changes to the migration file make it necessary to reimport the
database: db:drop, db:create, db:migrate, db:seed
2024-08-01 00:27:55 +02:00
d322ba1a83 Added user model and fixed reference in migration 2024-07-31 06:48:43 +02:00
43dfb7398a Scaffold job model 2024-07-29 00:39:55 +02:00