Commit graph

1101 commits

Author SHA1 Message Date
Ramon Gutierrez
8ad354c8c3 Make contact number nullable on ticket, fix update behavior to retain old name and number values even if customer is associated 2018-02-02 03:21:14 +08:00
9841d5c215 Fix delete number / vehicle bug in customer 2018-02-02 03:06:00 +08:00
fac3c409c4 Merge branch 'master' of gitlab.com:jankstudio/resq 2018-02-02 02:48:22 +08:00
ddb642a95f Refactor customer form and fix bugs 2018-02-02 02:48:00 +08:00
Ramon Gutierrez
92035b99bf Use new invoice generation behavior on job order form 2018-02-02 02:31:22 +08:00
Ramon Gutierrez
6c79281ff0 Merge branch 'master' of gitlab.com:jankstudio/resq 2018-02-01 23:14:56 +08:00
Ramon Gutierrez
fb5d36aca6 Add promo selection to job order invoice form 2018-02-01 23:14:49 +08:00
687f1b0ff9 Add more work on InvoiceCreator 2018-02-01 23:12:50 +08:00
85a0f972c7 Fix Customer bug when no vehicle or mobile number is selected 2018-02-01 23:11:57 +08:00
ec68b7a787 Add getName method to NameValue class 2018-02-01 23:11:34 +08:00
Ramon Gutierrez
ef2dccdf57 Automatically set status for job orders when submitting form, set hub as mandatory on outlets 2018-02-01 17:11:09 +08:00
Ramon Gutierrez
2ec8a369f6 Add crud for promos, discountapply name value collection 2018-02-01 15:07:43 +08:00
Ramon Gutierrez
8a2e75f999 Move getting collection data outside of loops 2018-02-01 15:06:56 +08:00
Ramon Gutierrez
1efd5250e8 Merge branch 'master' of gitlab.com:jankstudio/resq 2018-02-01 04:18:34 +08:00
Ramon Gutierrez
cbde853935 Add command to import csv for outlets and hubs 2018-02-01 04:18:11 +08:00
b6ce9d8ad8 Fix missing semicolon 2018-02-01 03:00:17 +08:00
83a162b4ab Merge branch 'master' of gitlab.com:jankstudio/resq 2018-02-01 01:36:08 +08:00
04cd0c59eb Add initial invoice capability 2018-02-01 01:35:47 +08:00
Ramon Gutierrez
9e7e937835 Add backend for saving warranty class on job order 2018-02-01 00:47:35 +08:00
Ramon Gutierrez
b6786895bd Update battery search labels to not include product code 2018-02-01 00:46:24 +08:00
Ramon Gutierrez
87ebf9f19b Add warranty class name value collection 2018-02-01 00:45:41 +08:00
Ramon Gutierrez
0654895dab Add warranty class to job order 2018-02-01 00:44:29 +08:00
Ramon Gutierrez
4a1ae3f539 Update asserts for battery price 2018-02-01 00:44:06 +08:00
Ramon Gutierrez
8f4b745025 Update list columns and fields based on feedback 2018-01-31 23:56:25 +08:00
Ramon Gutierrez
7bf2b7aa5d Add branch field to hub and outlet, create location trait 2018-01-31 23:55:51 +08:00
Ramon Gutierrez
fa5122235a Add customer classification field 2018-01-31 23:55:16 +08:00
Ramon Gutierrez
83cd3a008b Replace warranty personal with warranty private 2018-01-31 20:25:47 +08:00
Ramon Gutierrez
d0d83531bb Add fuel type and vehicle status condition name value collections 2018-01-31 15:30:04 +08:00
Ramon Gutierrez
034386aa59 Set all name value pair collections to extend from generic class 2018-01-31 13:35:10 +08:00
196850f7b6 Add generic NameValue class for name value pair collections 2018-01-31 13:17:55 +08:00
Ramon Gutierrez
d0d0c04c5d Add subject field to tickets 2018-01-31 12:04:52 +08:00
Ramon Gutierrez
6be23b27c5 Add user profile form 2018-01-31 06:14:46 +08:00
Ramon Gutierrez
72112ebe6c Initial commit for ticketing system 2018-01-31 05:59:48 +08:00
Ramon Gutierrez
bf0bd708e8 Fix erroneous assert annotations 2018-01-31 05:59:00 +08:00
Ramon Gutierrez
40a4e96632 Change time format on job order list 2018-01-31 04:02:29 +08:00
Ramon Gutierrez
9d74fd9a1d Add ticket entity and associations 2018-01-31 03:03:28 +08:00
Ramon Gutierrez
bc80f7100f Fix variable names for first and last name setters 2018-01-31 03:03:17 +08:00
Ramon Gutierrez
28e5f97ad4 Remove leftover error_log for job order status 2018-01-31 03:02:51 +08:00
Ramon Gutierrez
b21c563102 Record assigning user and datetime for job orders 2018-01-31 02:46:00 +08:00
Ramon Gutierrez
c0ecc1114c Initial commit for assigning screens for job orders 2018-01-31 02:31:04 +08:00
Ramon Gutierrez
8a2c84bdfd Add mobile number to customer vehicle search string for job order 2018-01-30 23:38:48 +08:00
Ramon Gutierrez
4884ef893f Highlight scheduled job orders on processing list 2018-01-30 23:38:01 +08:00
Ramon Gutierrez
29a838b1a8 Change destination marker image, add backend functionality for job order processing stage 2018-01-30 22:05:32 +08:00
Ramon Gutierrez
2b4c289ba9 Filter nearest outlets by open and close times 2018-01-30 19:47:39 +08:00
Ramon Gutierrez
d86b9f33a0 Fix sort by hub issue for rider list + add hub selection to outlets 2018-01-30 16:08:04 +08:00
Ramon Gutierrez
161778cfef Add plate number field to rider 2018-01-30 14:57:16 +08:00
Ramon Gutierrez
d97cbeaa45 Fix controller to save customer notes 2018-01-30 14:28:08 +08:00
Ramon Gutierrez
5e910be1e7 Set customer vehicle name as optional, fix customer form to work with new gas and status values 2018-01-30 12:52:39 +08:00
Ramon Gutierrez
66e70e4684 Add customer notes field to customer form 2018-01-30 12:19:29 +08:00
d53d51f499 Fix comment on date format 2018-01-30 01:50:38 +08:00
ae46f9068c Add more API calls 2018-01-30 00:02:59 +08:00
189b2e9a01 Add more API calls 2018-01-29 22:02:28 +08:00
b18d02f521 Add new API calls: info get, info update, status 2018-01-29 10:12:14 +08:00
fea805e385 Make api json_encode result use JSON_FORCE_OBJECT 2018-01-29 08:36:08 +08:00
e3a41febc5 Rename mobile session setDateConfirm to setDateConfirmed 2018-01-28 13:51:57 +08:00
e56929dbcc Refactor API controller for ease of use 2018-01-28 13:38:06 +08:00
f7c9931d9f Add nullable fields to fix register bug 2018-01-28 13:37:50 +08:00
18233f3567 Modify string length for job order service type 2018-01-28 05:20:03 +08:00
f5cce11738 Add routes and initial controller for API calls 2018-01-28 05:18:56 +08:00
db0a53fd1e Adjust mobile session entity 2018-01-28 05:17:25 +08:00
bcfa77151c Add map for viewing nearby outlets in job order processing 2018-01-18 10:07:54 +08:00
Ramon Gutierrez
798dd5e599 Only display km values for distance 2018-01-18 01:39:50 +08:00
Ramon Gutierrez
86f69e8056 Fix outlet row highlighting bug, format distance and duration into friendly time 2018-01-18 01:37:15 +08:00
Ramon Gutierrez
a614366a5a Merge branch 'master' of gitlab.com:jankstudio/resq 2018-01-18 01:18:49 +08:00
Ramon Gutierrez
4a216996ae Add job order processing form 2018-01-18 01:18:37 +08:00
84c8606894 Merge branch 'master' of gitlab.com:jankstudio/resq 2018-01-17 23:54:22 +08:00
7811c8a66e Add validations and checks for outlet 2018-01-17 23:54:00 +08:00
Ramon Gutierrez
139cbdfc3d Initial commit for job order list (processing) 2018-01-17 23:53:54 +08:00
Ramon Gutierrez
2e0efa0b35 Rename incoming.html.twig to form.html.twig to keep standard 2018-01-17 23:14:18 +08:00
14b432a11e Merge branch 'master' of gitlab.com:jankstudio/resq 2018-01-17 22:51:45 +08:00
1f4ae0e386 Improve output of map tools 2018-01-17 22:51:13 +08:00
Ramon Gutierrez
627f850bfb Initial commit for saving incoming job order form 2018-01-17 22:37:31 +08:00
Ramon Gutierrez
a2311d7f03 Add delivery address to job order entity 2018-01-17 21:46:23 +08:00
Ramon Gutierrez
3132812308 Add invoice ui elements and form submission to incoming job order form 2018-01-17 20:42:09 +08:00
Ramon Gutierrez
1d4450821d Merge branch 'master' of gitlab.com:jankstudio/resq 2018-01-17 18:12:54 +08:00
Ramon Gutierrez
2572b0284d Add getter for simple array of mobile numbers 2018-01-17 18:12:24 +08:00
53e71e1db0 Convert distance test into service 2018-01-17 18:12:04 +08:00
645b781858 Differentiate new and under warranty service types 2018-01-17 16:14:06 +08:00
Ramon Gutierrez
53292697a2 Apply missing warranty expiration fix to updates on customer form 2018-01-17 16:06:54 +08:00
929187f45c Fix blank warranty bug for customer form and add typehinting for date/time fields 2018-01-17 15:09:26 +08:00
Ramon Gutierrez
36627d713d Initial commit for job order tier 1 / incoming form 2018-01-17 07:21:04 +08:00
Ramon Gutierrez
7790bdde33 Remove unused params from rider form template 2018-01-17 02:05:20 +08:00
Ramon Gutierrez
7f4eaa6825 Add uploads cleanup console command 2018-01-17 02:04:46 +08:00
Ramon Gutierrez
73ccc1ca6b Fix constants in jostatus 2018-01-16 22:20:46 +08:00
Ramon Gutierrez
d46ce9e187 Merge branch 'master' of gitlab.com:jankstudio/resq 2018-01-16 22:17:55 +08:00
Ramon Gutierrez
f144efb439 Add getters and setters to joborder 2018-01-16 22:17:42 +08:00
5ee496dad9 Merge branch 'master' of gitlab.com:jankstudio/resq 2018-01-16 22:16:42 +08:00
Ramon Gutierrez
834ecddbb7 Set year range to current + 1, change customer vehicle year selection to dropdown 2018-01-16 17:53:16 +08:00
Ramon Gutierrez
e67e5f3f16 Initial commit for rider image upload, add FileUploader service 2018-01-16 17:27:43 +08:00
Ramon Gutierrez
0bd009d74f Add crud saving for rider 2018-01-16 06:21:45 +08:00
Ramon Gutierrez
ed24ace9b6 Remove obsolete values array on edit form 2018-01-16 06:11:55 +08:00
Ramon Gutierrez
278a37bc53 Initial commit for rider crud 2018-01-16 06:06:52 +08:00
Ramon Gutierrez
7739b23a7d Fix customer crud form saving 2018-01-16 05:34:29 +08:00
0206b1e45a Add invoice entity 2018-01-16 03:16:28 +08:00
e041623e9d Add constants for job order status and job order service type 2018-01-16 03:16:07 +08:00
Ramon Gutierrez
cab1af0356 Merge branch 'master' of gitlab.com:jankstudio/resq 2018-01-16 02:25:47 +08:00
Ramon Gutierrez
a450f5ada8 Initial commit for customer crud forms 2018-01-16 02:25:40 +08:00
56a4fc7a9d Fix associations to job order 2018-01-16 02:24:31 +08:00
623daa6b33 Merge branch 'master' of gitlab.com:jankstudio/resq 2018-01-15 16:27:02 +08:00
e4d9c47eb5 Add guzzle to composer 2018-01-15 16:26:32 +08:00
Ramon Gutierrez
cd70739e14 Merge branch 'master' of gitlab.com:jankstudio/resq 2018-01-15 05:20:40 +08:00
Ramon Gutierrez
bbd1cca9b6 Add mobile numbers table to customer form + initial commit for customer vehicle table 2018-01-15 05:20:27 +08:00
6737099278 Create test controller for st_distance functionality in database 2018-01-15 02:39:23 +08:00
20756296e6 Add hub crud screens and functionality 2018-01-14 23:33:20 +08:00
183d04ca48 Fix outlet add form bug 2018-01-14 22:57:16 +08:00
b496767bd1 Fix total row count computation to work with filters for outlet list 2018-01-14 22:46:16 +08:00
b3c056ab23 Merge branch 'master' of gitlab.com:jankstudio/resq 2018-01-14 22:23:13 +08:00
8e404dbd91 Finish outlet list and update forms 2018-01-14 22:17:28 +08:00
Ramon Gutierrez
8860e6a483 Optimize how object vars are passed to crud forms 2018-01-14 21:13:42 +08:00
Ramon Gutierrez
732a2b8545 Change method names for create and update 2018-01-14 15:49:50 +08:00
Ramon Gutierrez
0c3da71a57 Apply where filters to pagination query 2018-01-14 15:32:18 +08:00
a83e3dee5b Fix outlet add new 2018-01-14 02:46:08 +08:00
180a2d4bf9 Add initial outlet screens and other menu and acl entries 2018-01-13 00:28:12 +08:00
1fefaf4b09 Optimize vehicle controller by removing unnecessary acl generator 2018-01-13 00:27:24 +08:00
5611a80565 Add initial outlet, hub, rider and job order entities 2018-01-12 21:48:11 +08:00
f4019fb423 Add color field in customer vehicle 2018-01-12 15:36:27 +08:00
Ramon Gutierrez
d432d564b7 Fix missing UniqueEntity class on MobileNumber 2018-01-12 13:38:41 +08:00
Ramon Gutierrez
ea3aac788a Add unique assert to confirmation code for mobile numbers 2018-01-12 08:58:22 +08:00
Ramon Gutierrez
be949249d9 Initial commit for customer crud, add asserts/get/setters to entities 2018-01-12 08:38:12 +08:00
Ramon Gutierrez
e8d978dae4 Add crud and validation for battery entity 2018-01-12 06:47:32 +08:00
Ramon Gutierrez
3107e0d3e9 Add controlllers for vehicle entities 2018-01-12 03:16:07 +08:00
Ramon Gutierrez
537c97c611 Merge branch 'master' of gitlab.com:jankstudio/resq 2018-01-12 03:15:31 +08:00
Ramon Gutierrez
b198848a47 Check if acls is populated before doing foreach 2018-01-12 03:14:35 +08:00
Ramon Gutierrez
cf1b48a0df Change format of vehicles list on vehicle manufacturer entity 2018-01-12 03:13:51 +08:00
Ramon Gutierrez
8c2f168ef2 Remove required assert on roles for user entity 2018-01-12 03:13:28 +08:00
Ramon Gutierrez
5c381c48e0 Add asserts/get/setters to battery entity 2018-01-12 03:12:35 +08:00
7f6beb2b99 Merge branch 'master' of gitlab.com:jankstudio/resq 2018-01-12 03:09:39 +08:00
3ef273e145 Build proof of concept test for google map geocoding 2018-01-12 03:09:01 +08:00
Ramon Gutierrez
b4300d48de Add acl/menu/route lists for vehicle modules 2018-01-12 02:40:39 +08:00
Ramon Gutierrez
e780c56aa2 Add crud, asserts, getters and setters for auxilliary battery entities 2018-01-11 23:53:56 +08:00
Ramon Gutierrez
009289b282 Add ACL security checks for role views and controllers 2018-01-11 15:34:53 +08:00
9961510e40 Add ACL security checks for user views and controllers 2018-01-11 03:04:09 +08:00
9bb3542c78 Add Role ACL to add and update forms 2018-01-10 13:48:25 +08:00
Ramon Gutierrez
aece8408e8 Use server side form submission and validation for role crud 2018-01-10 04:42:13 +08:00
Ramon Gutierrez
277ac8e05b Add assert constraints to role entity 2018-01-10 04:41:50 +08:00
Ramon Gutierrez
027f017d6f Use server side form submission and validation for user crud 2018-01-10 04:29:51 +08:00
Ramon Gutierrez
0b46565f7a Add validation asserts to user entity 2018-01-10 04:28:45 +08:00
Ramon Gutierrez
0b5862e4d4 Fix invalid edit/delete paths on crud lists 2018-01-09 02:03:48 +08:00
a43cb4a0db Merge branch 'master' of gitlab.com:jankstudio/resq 2018-01-08 23:59:58 +08:00
43886c729d Add initial entities for battery, customer and vehicle 2018-01-08 23:59:13 +08:00
Ramon Gutierrez
98df96a0ff Move pagination/sorting/filtering to server side for role crud and fix datatables webstorage issue 2018-01-08 22:39:15 +08:00
Ramon Gutierrez
e6ca66ccc9 Move pagination/sorting/filtering to server side for user crud 2018-01-08 20:55:24 +08:00
Ramon Gutierrez
9859242400 Add basic user crud 2018-01-07 19:21:37 +08:00
Ramon Gutierrez
aaeb6df92d Add basic crud operations to roles 2018-01-07 14:22:09 +08:00
fbbcd89f8d Add ACL access voter service 2018-01-07 10:05:56 +08:00
Ramon Gutierrez
b38af2e4b5 Add role list view, initial routing and methods for crud 2018-01-07 05:44:11 +08:00
12d2876825 Change parseMenu to parseACL (oops copy / paste) 2018-01-07 01:09:25 +08:00
b25345a46d Add ACL generator component with test controller and route 2018-01-07 00:49:18 +08:00
8b76707997 Remove debug information from base controller 2018-01-07 00:47:13 +08:00
24e2c9d054 Add TODO note for menu generator caching issue 2018-01-06 23:14:27 +08:00
3b878948bf Initial commit 2018-01-06 21:26:46 +08:00