Commit graph

1211 commits

Author SHA1 Message Date
Korina Cordero
57f1eb1386 Remove duplicate code from classes that extend Role. Rename UserFixtures to RoleFixtures. Create APIRoleFixtures file. #194 2019-03-29 06:35:37 +00:00
Korina Cordero
01f57fdc37 Made the Generator and Voter classes in the Auth bundle abstract. Modify the services.yaml to point to the Voter and Generator classes that extended the base classes from the Auth bundle. #194 2019-03-28 07:03:09 +00:00
d7a2e7f899 Replace apns sender with new one #196 2019-03-28 11:22:28 +08:00
Korina Cordero
eaac1dfb7d Create auth bundle with base classes for User and Role. Use base class for user and role in the User and Role entities in the API and the main site. #194 2019-03-27 06:58:08 +00:00
Korina Cordero
3e79c3960c Change the API call to warranties to sort by date_create #195 2019-03-22 05:16:59 +00:00
Korina Cordero
53332b989a Add ACL support for the API #194 2019-03-21 14:28:18 +00:00
Ramon Gutierrez
14817f19e7 Update global search layout and use single template for both views #193 2019-03-18 23:42:47 +08:00
Korina Cordero
97570405d6 Display the results into three separate tables #182 2019-03-18 03:20:22 -04:00
Korina Cordero
b021479d2e Fix display issue for search results #182 2019-03-15 05:16:22 -04:00
Korina Cordero
fc94bfbef1 Set a maximum number of results for the query. Fix the issue of the search word not sent to the controller. #182 2019-03-14 07:31:44 -04:00
Korina Cordero
bd1009dac9 Implement the search feature from the controller #182 2019-03-14 04:44:59 -04:00
Korina Cordero
dc842aab5e Create controller, route, and default page for search #182 2019-03-13 03:17:47 -04:00
Korina Cordero
34c22b01e2 Add getters and setters for LegacyJobOrder. Create service that searches for plate number, name, and phone numbers in the legacy job orders, current job orders, and warranty. Create test command to test the search service. #182 2019-03-12 05:30:10 -04:00
a1408c618c Merge branch '141-geofencing-coverage-area-2' into 'master'
Resolve "Geofencing coverage area"

Closes #141

See merge request jankstudio/resq!221
2019-03-10 17:34:17 +00:00
27372264e9 Add geofence check for job order request api call #141 2019-03-11 01:32:52 +08:00
2ffc856b10 Add GeofenceTracker service and test command #141 2019-03-10 22:33:35 +08:00
d24be90314 Refactor import kml to handle multiple polygons #141 2019-03-10 19:47:33 +08:00
Korina Cordero
f93b675976 Use EntityManagerInterface instead of ObjectManager for ORM 2019-03-07 02:37:14 -05:00
Korina Cordero
5def677267 Create command that takes a kml file as an argument. Fix errors with the SupportedArea entity file and the KMLImporter service. 2019-03-06 19:52:05 -05:00
Korina Cordero
84eb00f9e5 Create function to retrieve the enclosed area from a KML file 2019-03-05 03:28:51 -05:00
Korina Cordero
87a8770bb4 Create entity file for supported areas 2019-03-03 20:13:16 -05:00
63dd85da17 Change rejection report user created by to rejection user #191 2019-03-04 01:51:20 +08:00
d791374b29 Separate and create detailed rejection report #190 2019-03-01 22:43:59 +08:00
Korina Cordero
084d058341 Create Symfony command to generate warranties from existing job orders #187 2019-02-26 22:26:04 -05:00
71ed134e78 Output csv for rejection report #184 2019-02-26 03:07:56 +08:00
fb15b3e3bc Add new rejection reasons #184 2019-02-26 01:45:26 +08:00
924c00c41f Fix date start and end filtering for rejection report #184 2019-02-24 02:29:50 +08:00
2c8f626aa6 Load data for rejection report in json format #184 2019-02-24 02:09:38 +08:00
Ramon Gutierrez
8b6066bb38 Update template path for rejection report form #184 2019-02-24 00:49:48 +08:00
f59476c2d3 Add routes, acl and template changes for rejection report #184 2019-02-23 23:31:46 +08:00
Korina Cordero
7e7d99d9c9 Add initial changes to script that generates warranties for existing job orders 2019-02-22 05:29:10 -05:00
3d3f386fa3 Add command for populating long / lat fields in job order #186 2019-02-21 15:39:24 +08:00
bc8d01dc6a Add coord_long and coord_lat fields to JobOrder entity #186 2019-02-21 14:40:17 +08:00
Ramon Gutierrez
623c80421a Add route and processing for hub rejections #183 2019-02-12 00:14:15 +08:00
Ramon Gutierrez
345ca27a31 Fix associations for JORejection to JobOrder #183 2019-02-12 00:12:58 +08:00
Ramon Gutierrez
b63695e846 Fix typos on JORejection entity #183 2019-02-11 21:01:57 +08:00
Ramon Gutierrez
9f1c5b9cc9 Add JORejection entity #183 2019-02-11 18:41:05 +08:00
e2ccf1bbc1 Add functionality to save facilitated by fields #181 2019-02-10 20:48:46 +08:00
7ae9fe4e2d Add facilitated by dropdowns for job order form #181 2019-02-09 21:44:35 +08:00
f38b9944c2 Make command sap_battery:import repeatable #178 2019-02-01 18:41:22 +08:00
407f7ad54a Fix check on rider assign to check for RIDER_ASSIGN status instead of ASSIGNED #178 2019-01-31 00:32:09 +08:00
f0d94e034f Add first_name, last_name, and mobile_number fields to warranty #177 2019-01-30 22:12:36 +08:00
1bd5c30875 Fix assign rider so cancelled job orders cannot be assigned #175 2019-01-28 03:16:50 +08:00
4b24454549 Fix dispatch, so cancelled job orders cannot be assigned to a hub #175 2019-01-28 02:44:05 +08:00
a0d611264d Add queue ticket types #175 2019-01-28 01:07:45 +08:00
dbc161d9c9 Fix warranty claim api bug #173 2019-01-22 22:54:04 +08:00
2f30d0c7c3 Update warranty api controller to handle sku instead of model / size for batteries #172 2019-01-21 02:09:16 +08:00
15b7473af7 Add sap battery field to warranty entity #172 2019-01-21 02:08:49 +08:00
85121a973d Update battery api controller, routes and test scripts #172 2019-01-20 17:51:34 +08:00
081d9cb93c Add command to import SAP battery csv #172 2019-01-20 15:38:38 +08:00
86c20036c0 Add SAP battery entities #172 2019-01-20 15:35:30 +08:00
296dedd732 Remove debug error logs #171 2019-01-19 23:45:34 +08:00
bc9cf2a74f Modify claim warranty api call #171 2019-01-10 02:26:42 +08:00
e4cedd9e4d Add get all warranties api call #171 2019-01-10 00:02:24 +08:00
28fdba3872 Merge branch '168-legacy-jo-migration' into 'master'
Resolve "Legacy JO Migration"

Closes #168

See merge request jankstudio/resq!203
2019-01-09 09:05:04 +00:00
bfa39f4640 Add legacy job order and details migration commands #168 2019-01-09 17:01:08 +08:00
d39d554ba1 Add warranty migration for legacy data #168 2019-01-03 05:51:33 +08:00
1f0060d6c5 Fix legacy import command to populate plate_number table via load data infile #168 2018-12-30 00:27:52 +08:00
cdbc7897ca Add legacy battery to current battery translation #168 2018-11-13 17:42:05 +08:00
4c9dba09ba Fix resend confirmation code issue #169 2018-11-13 04:23:17 +08:00
030668e43b Fix plate number cleaning #168 2018-11-07 22:29:08 +08:00
2f32f9666d Adjust computation for services #167 2018-11-06 15:14:22 +08:00
fac78e558d Add plate number warranty API call #166 2018-11-06 01:55:51 +08:00
6771b86d6c Change APIController to abstract class from interface #166 2018-11-06 01:30:52 +08:00
d78e30c9c2 Add battery model and size to warranty and change warranty routes #166 2018-11-06 01:14:19 +08:00
2a24567c4c Merge branch '164-add-api-bundle' into 'master'
Resolve "Add API bundle"

Closes #164

See merge request jankstudio/resq!198
2018-10-25 17:00:23 +00:00
4867f1b6bb Finish warranty api calls #164 2018-10-26 00:58:32 +08:00
9fcae0f05b Add vehicle and battery apis #164 2018-10-25 13:35:27 +08:00
959d2c6efc Add warranty entity, refactor controller, and fix bugs #164 2018-10-24 22:20:45 +08:00
0d41b46ee9 Refactor api bundle to use security to handle authentication #164 2018-10-23 02:11:21 +08:00
28db60e92d Remove google maps distance and eta calculations #165 2018-10-18 21:39:39 +08:00
2b9499861b Add catalyst api bundle and test controller #164 2018-10-15 01:19:29 +08:00
77d6d146c0 Add CSAT field to form and entity #163 2018-10-03 01:08:08 +08:00
4df0e0e5ec Fix bug in rider report command #162 2018-09-28 10:31:07 +08:00
b2d680ae64 Support test phone number for iphone / android testing #162 2018-09-28 09:46:52 +08:00
89d6949015 Add resq inquiry ticket type #162 2018-09-23 15:53:38 +08:00
bad555fbd1 Change closest hub display limit to 50 #162 2018-09-23 15:08:59 +08:00
3a29f2250d Merge branch '162-phase-2-changes' into 'master'
Modify rider report to accept date range #162

Closes #162

See merge request jankstudio/resq!192
2018-09-17 15:25:39 +00:00
7e38f7a719 Modify rider report to accept date range #162 2018-09-17 12:34:37 +08:00
542a1de9c1 Merge branch '162-phase-2-changes' into 'master'
Add dispatch time to rider time report #162

Closes #162

See merge request jankstudio/resq!191
2018-09-14 08:00:34 +00:00
a0a1c664c2 Add dispatch time to rider time report #162 2018-09-14 15:59:51 +08:00
a7fa81e902 Merge branch '162-phase-2-changes' into 'master'
Limit rider time report to anything above september 5 #162

Closes #162

See merge request jankstudio/resq!190
2018-09-14 06:59:50 +00:00
7382b4333c Limit rider time report to anything above september 5 #162 2018-09-14 14:59:06 +08:00
fa55f0c1ed Merge branch '162-phase-2-changes' into 'master'
Add report:rider-time command #162

Closes #162

See merge request jankstudio/resq!189
2018-09-14 06:50:21 +00:00
9efb6ae20f Add report:rider-time command #162 2018-09-14 14:49:17 +08:00
49977c1501 Merge branch '162-phase-2-changes' into 'master'
Set closest hubs limit to 30 #162

Closes #162

See merge request jankstudio/resq!188
2018-09-12 23:32:32 +00:00
9d5f880a14 Set closest hubs limit to 30 #162 2018-09-13 07:29:39 +08:00
root
4464edc803 Support new rider app has_motolite and flag_coolant format 2018-09-10 00:08:38 +08:00
root
d84a156a02 Add support for has_motolite and flag_coolant in change service rider api call 2018-09-08 19:28:15 +08:00
9ca197f33f Fix assitance spelling #162 2018-09-07 21:29:09 +08:00
3ad32605fe Add support for coolant and non-coolant overheat service #162 2018-09-07 03:27:56 +08:00
1c53556713 Highlight mobile app sourced job orders in dispatch table #162 2018-09-03 15:57:03 +08:00
root
e7fd6cb9d1 Fix battery image issue for under warranty 2018-09-02 23:19:03 +08:00
root
45a84d1cc8 Fix edit invoice bug for rider api 2018-08-27 03:57:44 +08:00
63a3136d77 Have invoice creator recognize motolite batteries in vehicles and give free services for them 2018-08-20 04:01:38 +08:00
317ac19c52 Only allow ios push messages to go through APNS client service #162 2018-08-17 03:34:46 +08:00
30e08259db Add apple push notification service #162 2018-08-15 15:09:04 +08:00
e3a0e8e23c Have hub reassign and rider reassign send mqtt events to rider and user app #162 2018-08-15 12:59:57 +08:00
4b635631ba Change mqtt event when rider cancels to outlet_assign #162 2018-08-15 11:24:26 +08:00
f720ccd940 Add mqtt send for outlet_assign event #162 2018-08-15 10:43:54 +08:00
4bb2374d66 Make sure we only send to unique channels when sending user app events #162 2018-08-15 09:14:18 +08:00
dbe152598f Merge branch 'master' of gitlab.com:jankstudio/resq into 162-phase-2-changes 2018-08-14 23:58:41 +08:00
2aa765d186 Allow rating of -1 for cancel rating for rider rating user api call #162 2018-08-14 23:58:00 +08:00
root
bbeb3be10d Make sure batt_id is null in change service rider api call 2018-08-14 23:45:27 +08:00
root
0cc667dbec Merge branch 'master' of https://gitlab.com/jankstudio/resq
Conflicts:
	utils/mqtt_sender/mqtt_sender.py
2018-08-14 13:52:30 +08:00
b5c67f1c91 Revert typecasting for now #162 2018-08-13 14:50:44 +08:00
root
b3eb68346f Revert to regular json_encode because auto int conversion sucks 2018-08-13 14:34:47 +08:00
051521679e Disable sending of MQTT message to user app when user cancels via api #162 2018-08-13 05:08:09 +08:00
fa659226bc Mark JO as rider rated when post rider rating api call is used #162 2018-08-13 05:01:33 +08:00
f47e280b37 Display latest JO without rider rating in rider status api call #162 2018-08-13 04:49:21 +08:00
ff8e4090ae Merge branch 'master' of gitlab.com:jankstudio/resq into 162-phase-2-changes 2018-08-13 04:14:14 +08:00
1a44d28290 Create query for last fulfilled job order for rider status api call #162 2018-08-13 04:13:50 +08:00
5a37941ed5 Merge branch '162-phase-2-changes' into 'master'
Resolve "Phase 2 changes"

Closes #162

See merge request jankstudio/resq!170
2018-08-10 15:01:33 +00:00
0a476f245a Fix json_encode issue with decimal / integer encoding #162 2018-08-10 23:00:47 +08:00
fcaa8c3537 Merge branch '162-phase-2-changes' into 'master'
Resolve "Phase 2 changes"

Closes #162

See merge request jankstudio/resq!169
2018-08-10 14:17:25 +00:00
7237441ec3 Add rider rating flag to JO and modify jo get invoice api call #162 2018-08-10 22:06:52 +08:00
root
e87ed1a72d Fix get rider status api call bug 2018-08-10 15:31:02 +08:00
6c63036eea Add dummy has_warranty_doc to rider api jo data #162 2018-08-10 11:08:26 +08:00
93da2003f0 Add privacy flags in get user info api call #162 2018-08-10 10:21:02 +08:00
a74e73f99c Add skeleton method for hub arrive rider api call #162 2018-08-10 08:54:23 +08:00
bbc6989a66 Add jo invoice user api call #162 2018-08-10 08:06:29 +08:00
5b323e155b Add event log entries for user api JO calls #162 2018-08-09 05:39:13 +08:00
57eef0a0a4 Replace filler confirmation code with randomly generated one in user api #162 2018-08-09 05:15:50 +08:00
28b298dbb4 Add event log entries for rider api events #162 2018-08-09 04:53:09 +08:00
df709aa353 Add delivery_address and delivery_instructions to rider status user api call #162 2018-08-09 03:36:27 +08:00
f2d83dca43 Add in transit status job orders to open list #162 2018-08-09 02:46:58 +08:00
b4b18e5d3d Have rider api cancel job order requeue the job order for reassignment instead #162 2018-08-09 02:06:33 +08:00
7faaf403bf Add delivery_address and delivery_instructions fields for request jo api call 2018-08-08 04:05:10 +08:00
cd73d7de9e Fix rider image URL 2018-08-05 00:28:28 +08:00
165e59e1a1 Fix job order switch service bug 2018-08-03 14:29:26 +08:00
root
021a6df352 Fix job order cancel bug 2018-07-30 17:13:12 +08:00
2fe3448e8f Change pricing for tire repair service #161 2018-07-27 00:43:02 +08:00
397f3d144a Update prices for refuel and overheat services #161 2018-07-27 00:24:10 +08:00
dc0f63fb64 Create new command for fulfilling pending job orders #160 2018-07-26 21:25:56 +08:00
c3d2ed3496 Add new command for fulfilling old job orders #160 2018-07-26 19:10:09 +08:00
5ed3a2e447 Refactor fulfill jo to belong in entity #159 2018-07-26 02:58:19 +08:00
098df69949 Refactor cancel job order process #159 2018-07-25 23:03:32 +08:00
9ae9a550d0 Add mode_of_payment field to change service call in rider API #159 2018-07-23 02:07:56 +08:00
2925ec3df3 Add trade_in_type output to get job order call in rider api #159 2018-07-21 04:34:23 +08:00
863bf56453 Add trade_in_type to job order so rider app can differentiate #159 2018-07-21 04:05:51 +08:00
root
d455a20e70 Pad mobile number with '63' before sending to rider API 2018-07-20 17:24:02 +08:00
root
b7bb0cdaf9 Fix MQTT to Redis to python backend 2018-07-19 11:54:05 +08:00
2a1f0977c7 Add debug data for mqtt sending to user app #159 2018-07-19 10:03:37 +08:00
b586f6486d Fix cancel bug #159 2018-07-19 09:48:02 +08:00
af45301e98 Inject MQTTClient in cancel jo api call #155 2018-07-09 16:26:52 +08:00
550d1e1e02 Modify MQTTClient service to support tls certs #154 2018-07-06 23:46:02 +08:00
584652d31d Unrequire batt_id and trade_in for change service rider api call and add or_num #153 2018-07-05 15:49:22 +08:00
052f3dfe62 Add or number to JobOrder entity #153 2018-07-05 15:19:44 +08:00
2a814a1976 Remove debug for sql statement #152 2018-07-02 17:17:10 +08:00
53b34a874c Add time to date_schedule field of get job order rider api call #151 2018-07-02 02:32:54 +08:00
322e26afd1 Add mqtt event sending in api controller jo cancel call #151 2018-07-02 01:45:08 +08:00
cbdc2fd24e Add sendRiderEvent call for MQTTClient service #151 2018-07-02 00:22:15 +08:00
efb7d75913 Fix and refactor how invoice is updated for job order open edit #150 2018-06-22 02:30:22 +08:00
2e91da2bb9 Merge branch '143-add-missing-fields-in-jo-pdf' into 'master'
Resolve "Add missing fields in JO PDF"

Closes #143

See merge request jankstudio/resq!150
2018-06-18 10:18:02 +00:00
Ramon Gutierrez
c6cb9b4d98 Change assignedby to processedby for dispatcher name field #143 2018-06-18 18:13:25 +08:00
7b994ab2c3 Merge branch '143-add-missing-fields-in-jo-pdf' into 'master'
Resolve "Add missing fields in JO PDF"

Closes #143

See merge request jankstudio/resq!149
2018-06-18 09:25:04 +00:00
Ramon Gutierrez
65f147886e Add null checks for remaining pdf fields #143 2018-06-18 17:23:35 +08:00
104d60082e Merge branch '143-add-missing-fields-in-jo-pdf' into 'master'
Resolve "Add missing fields in JO PDF"

Closes #143

See merge request jankstudio/resq!147
2018-06-18 07:30:54 +00:00
Ramon Gutierrez
f41dafd293 Change null check format for getPromo #143 2018-06-18 15:21:09 +08:00
Ramon Gutierrez
c9d6b232ee Add null check for promo type #143 2018-06-18 15:20:23 +08:00
7a7aee4dd6 Merge branch '143-add-missing-fields-in-jo-pdf' into 'master'
Resolve "Add missing fields in JO PDF"

Closes #143

See merge request jankstudio/resq!146
2018-06-18 06:55:00 +00:00
899f963773 Corrected nullable device_push_id #148 2018-06-17 17:59:04 +08:00
59f41e5f55 Allow null values in device_push_id #148 2018-06-17 17:57:48 +08:00
2fa2ad964e Add phone_id and update device_push_id field for mobile session #148 2018-06-17 17:03:34 +08:00
7f4f1e440e Add mode of payment field for request jo api call #146 2018-06-17 14:01:45 +08:00
3f616a8283 Add dummy location support API #147 2018-06-17 11:23:06 +08:00
Ramon Gutierrez
352dcf2809 Add missing fields to jo pdf #143 2018-06-17 00:34:25 +08:00
af407ff4bc Add vehicle:merge command to clear duplicate vehicles #144 2018-06-16 11:51:28 +08:00
778436844c Set date cancel for all jo cancel operations #137 2018-06-12 06:01:11 +08:00
1101e61f5f Fix order of arguments in substr call to phone number #137 2018-06-12 02:30:18 +08:00
0d2e84da06 Fix date cancel null bug for service history api call #138 2018-06-11 15:45:39 +08:00
0fdb942134 Merge branch '95-jo-print' into 'master'
Resolve "JO print"

Closes #95

See merge request jankstudio/resq!135
2018-06-10 08:13:52 +00:00
7789ec7ec6 Removed priv_promo being required in privacy settings api call #136 2018-06-07 03:10:25 +08:00
7aef4c72cf Merge branch '133-fix-alerts-for-ios-app-from-rider-app-initiated-events' into 'master'
Resolve "Fix alerts for ios app from rider app initiated events"

Closes #133

See merge request jankstudio/resq!131
2018-06-05 20:29:57 +00:00
43f618a838 Add in progress case #133 2018-06-06 04:29:15 +08:00
3c552b6c82 Merge branch '133-fix-alerts-for-ios-app-from-rider-app-initiated-events' into 'master'
Resolve "Fix alerts for ios app from rider app initiated events"

Closes #133

See merge request jankstudio/resq!130
2018-06-05 20:25:09 +00:00
352ca77130 Add debug info for mqtt client #133 2018-06-06 04:24:30 +08:00
007d64c08a Merge branch '133-fix-alerts-for-ios-app-from-rider-app-initiated-events' into 'master'
Resolve "Fix alerts for ios app from rider app initiated events"

Closes #133

See merge request jankstudio/resq!129
2018-06-05 20:05:56 +00:00
6b40b456fb Fix payment bug for rider api #133 2018-06-06 04:05:24 +08:00
32722fa479 Merge branch '133-fix-alerts-for-ios-app-from-rider-app-initiated-events' into 'master'
Resolve "Fix alerts for ios app from rider app initiated events"

Closes #133

See merge request jankstudio/resq!128
2018-06-05 19:58:58 +00:00
8760963570 Fix rider image bug #133 2018-06-06 03:58:26 +08:00
d521d5ff8e Merge branch '133-fix-alerts-for-ios-app-from-rider-app-initiated-events' into 'master'
Resolve "Fix alerts for ios app from rider app initiated events"

Closes #133

See merge request jankstudio/resq!127
2018-06-05 19:52:32 +00:00
8fb28c2710 Add case for in transit #133 2018-06-06 03:51:55 +08:00
fec66d3725 Merge branch '133-fix-alerts-for-ios-app-from-rider-app-initiated-events' into 'master'
Resolve "Fix alerts for ios app from rider app initiated events"

Closes #133

See merge request jankstudio/resq!126
2018-06-05 19:48:12 +00:00
bee2d83605 Add in transit to list of pending jos for ios app #133 2018-06-06 03:47:20 +08:00
9dccf7005e Merge branch '133-fix-alerts-for-ios-app-from-rider-app-initiated-events' into 'master'
Resolve "Fix alerts for ios app from rider app initiated events"

Closes #133

See merge request jankstudio/resq!125
2018-06-05 19:28:52 +00:00
fbe6c42e50 Add mqtt send event to fulfilled, cancelled and driver arrived #133 2018-06-06 03:26:24 +08:00
61681e9344 Merge branch '135-fix-fuel-pricing' into 'master'
Resolve "Fix fuel pricing"

Closes #135

See merge request jankstudio/resq!124
2018-06-04 00:16:34 +00:00
54f04a9ae2 Add debug information #135 2018-06-04 08:15:53 +08:00
1b648607a8 Merge branch '135-fix-fuel-pricing' into 'master'
Resolve "Fix fuel pricing"

Closes #135

See merge request jankstudio/resq!123
2018-06-04 00:12:47 +00:00
499bc1cd3c Add more debug information for fuel service #135 2018-06-04 08:11:52 +08:00
e70bd8c39f Merge branch '135-fix-fuel-pricing' into 'master'
Resolve "Fix fuel pricing"

Closes #135

See merge request jankstudio/resq!122
2018-06-04 00:00:41 +00:00
3bfc8c5c5b Add debug info for refuel #135 2018-06-04 07:59:35 +08:00
07dbaed89e Merge branch '135-fix-fuel-pricing' into 'master'
Resolve "Fix fuel pricing"

Closes #135

See merge request jankstudio/resq!121
2018-06-03 23:49:21 +00:00
8b5141385c Add customer vehicle to invoice criteria #135 2018-06-04 07:48:29 +08:00
6c77e77e2a Add filter for flag_mobile in app API #134 2018-06-04 05:49:26 +08:00
220a78d275 Add flag_mobile UI and controller functionality for vehicle and vehicle manufacturer #134 2018-06-04 05:21:33 +08:00
de14863e2f Add flag_mobile fields in vehicle and vehicle manufacturer #134 2018-06-04 04:16:40 +08:00
f4d4a6e3a0 Add mqttclient service to send mqtt events #133 2018-06-04 03:28:37 +08:00
2be0abb716 Fix bug with missing entity manager for rider api calls #132 2018-05-28 20:16:26 +08:00
70af6935ef Fix typo error in setAvailable #132 2018-05-28 18:44:07 +08:00
0000318495 Modify rider availability on login and logout from rider api #132 2018-05-28 18:09:25 +08:00
a6b56e2fca Return hub data when logging in rider api #132 2018-05-28 17:00:50 +08:00
3d186481ca Add payment and available api calls for rider app #132 2018-05-27 06:29:56 +08:00
ed8ed03136 Make sure change status calls for rider api are being saved #132 2018-05-27 06:03:20 +08:00
bcc606f52a Add change service rider api call #132 2018-05-27 05:55:54 +08:00
0e42e68b08 Add get batteries call to rider api #132 2018-05-27 03:29:31 +08:00
393fc525c0 Add get promos call for rider api #132 2018-05-27 01:52:12 +08:00
e93fec2811 Merge branch 'master' into 111-sms-feature-for-security-code
Conflicts:
	src/Controller/APIController.php
2018-05-25 10:42:13 +08:00
955f0e4d46 Add rising tide sms service #111 2018-05-25 01:36:34 +08:00
c322ffe016 Make rider session auto active #131 2018-05-24 16:24:11 +08:00
be5a66e68a Add mobile api privacy settings call #130 2018-05-23 22:40:44 +08:00
7d3873022e Add mobile api resend code #130 2018-05-23 22:04:53 +08:00
ed30224c09 Capitalize plate number for customer vehicle entity #129 2018-05-23 19:17:19 +08:00
82fc9f3948 Make mobile api use vehicle model formatting method #128 2018-05-23 19:06:47 +08:00
00f602e0d7 Add status change calls for rider api #119 2018-05-23 09:34:59 +08:00
d5fb5222ca Add rider api get job order call #119 2018-05-23 07:28:57 +08:00
5b94b1a592 Add login and logout features for rider api #119 2018-05-23 03:03:56 +08:00
9d8a3fe6e4 Add session register rider api call #119 2018-05-22 20:59:24 +08:00
87c6ca1926 Add rider session entity #119 2018-05-22 20:59:13 +08:00
9e6ff4ee15 Add rider username and password to forms and database #119 2018-05-22 20:57:50 +08:00
Ramon Gutierrez
5699903d14 Add pdf generation for job orders #95 2018-05-21 20:55:00 +08:00
7e53a4d6de Add rider rating comment feature #120 2018-05-21 01:23:59 +08:00
5e0023e215 Add cancel reason to mobile event for cancel JO #122 2018-05-20 23:18:06 +08:00
3727ae1fed Fix typo bug for session #122 2018-05-20 23:02:06 +08:00
429dc99b29 Add cancel event and have mobile sendEvent send to all sessions of a job order #122 2018-05-20 22:45:41 +08:00
5498119ab3 Add setMaxResults(1) to assure single result in dupe customer query #116 2018-05-20 14:22:51 +08:00
8b8d819910 Check for existing customers for the same number and merge for mobile API #116 2018-05-20 13:48:06 +08:00
365de1c66d Set customer mobile phone on update info #118 2018-05-20 01:54:41 +08:00
8035dc254c Add LPG to fuel type #115 2018-05-19 15:11:15 +08:00
6dd052e84e Sort vehicle fetching by make #114 2018-05-19 12:52:29 +08:00
7f7707d827 Force ipv4 resolv for calls to google maps api #113 2018-05-07 22:57:42 +08:00
05959d5734 Add service_type to rider status #110 2018-05-02 21:39:45 +08:00
4652a82fff Support new services #110 2018-05-02 21:12:49 +08:00
ae153c60b0 Add image_url to get estimate api call #107 2018-05-01 21:01:38 +08:00
2f68a184e7 Add setDateFulfill when jo is fulfilled #107 2018-04-29 14:25:34 +08:00
921aa9bb66 Fix date fulfilled typo / bug #107 2018-04-29 14:21:30 +08:00
1b3c0409df Add workaround for battery images in mobile app #107 2018-04-29 12:12:22 +08:00
b5274be3b5 Allow super admin to do rider assignment even when locked to other user #106 2018-04-27 04:20:47 +08:00
3d053c8fee Add phone number search for jo open list #105 2018-04-25 18:08:34 +08:00
4dd708a8ac Add customer name and mobile phone searching for view all jo list #98 2018-04-25 01:39:21 +08:00
7ff058864a Add search by plate number on customer list #100 2018-04-25 00:33:42 +08:00
aea22c7e11 Allow fulfilled job orders to be cancelled #103 2018-04-24 23:57:45 +08:00
14976361b9 Rename variable stype_id to service_type for more consistency #104 2018-04-24 20:08:12 +08:00
32d6c7238c Add update device id api call #104 2018-04-21 00:00:53 +08:00
bb3ac8ecd4 Add jo history api call and fix estimate and request jo to use new criteria system #104 2018-04-20 23:39:19 +08:00
757ec209ad Fix OPL formula in discount calculation #96 2018-04-19 11:00:33 +08:00
88c7da7b2a Remove set status on open edit submit #102 2018-04-19 09:31:04 +08:00
57c9da8adf Add search for first name or last name in open job order list #94 2018-04-18 13:49:40 +08:00
abe1b8bb3d Add open edit JO feature #93 2018-04-18 11:51:45 +08:00
04448c03a0 Increase limit of nearest hubs to 20 #91 2018-04-13 22:41:33 +08:00
2ecb3b142a Change job order all and open search to sarch for plate number #91 2018-04-12 22:24:31 +08:00
42f3048d12 Optimize incoming jo customer vehicle search #89 2018-04-10 23:37:34 +08:00
836c026402 Add match against support for dql #89 2018-04-10 23:37:18 +08:00
315a369a3b Hide error_log debugging in job order controller #89 2018-04-10 20:13:09 +08:00
5b5fbd7555 Add general service - under warranty service type #88 2018-04-09 22:30:00 +08:00
23fbaf1e13 Fix mode of payment bug in jo incoming #86 2018-04-09 21:17:20 +08:00
1a60b6d632 Fix bug in jo submission for create jo from cv #84 2018-04-09 13:17:28 +08:00
e1c4a9e40d Fix jo incoming from cv to display and handle invoice editing properly #83 2018-04-09 12:41:10 +08:00
a510a9ce58 Merge branch '80-jo-adding-for-post-types-bug' into 'master'
Resolve "JO adding for post types bug"

Closes #80

See merge request jankstudio/resq!69
2018-04-08 18:01:24 +00:00
af6765f662 Add post replacement and recharge in invoice creator #80 2018-04-09 02:00:37 +08:00
c29de550d5 Make sure job order reassign hub / rider sets prossesed by and assigned by properly #82 2018-04-09 01:15:47 +08:00
5bbfff6dd4 Limit JO incoming search to plate number #78 2018-04-07 10:11:38 +08:00
3642b2225e Fix permission bug in customer link showing #77 2018-04-06 17:49:41 +08:00
e383a66e8f Add pdf workaround #76 2018-04-06 16:04:31 +08:00
6918d44468 Fix customer import bug #75 2018-04-06 13:40:15 +08:00
803410fb8c Fix bug for under warranty job order #74 2018-04-06 04:48:44 +08:00
f076827879 Add special cases to import customer command #73 2018-04-06 03:40:52 +08:00
36ac62a2ad Add better debugging messages when vehicle has no match in db #73 2018-04-06 00:25:19 +08:00
0ced0735a3 Save new battery on fulfill jo action #71 2018-04-05 13:53:30 +08:00
2895bb772e Minor fix in import customer command #70 2018-04-05 02:47:12 +08:00
b8602a5c28 Update import commands to new format #70 2018-04-05 01:53:45 +08:00
c5fe392cae Modify invoice creator to properly compute for trade-ins based on size #70 2018-04-04 21:23:26 +08:00
ef85141587 Add trade-in prices in entity, controller and templates #70 2018-04-04 17:43:04 +08:00
9e59ecb994 Add customer job order history table in customer form #69 2018-04-04 04:28:55 +08:00
4321f70e94 Add job order event / status history #68 2018-04-04 03:51:39 +08:00
8818459689 Add TNV as a warranty class #67 2018-04-03 23:44:03 +08:00
b009199df3 Add all other batteries to compatible battery dropdown #67 2018-04-03 22:35:27 +08:00
190ab8ceaf Add schedule and adjust schedule date to display date and time always #67 2018-04-03 21:38:45 +08:00
496b032e70 Relabel installment to installment - BDO #66 2018-04-03 13:45:23 +08:00
b234fb5344 Adjust JO status entries #66 2018-04-03 12:00:27 +08:00
04e2f88c94 Add VIP to transaction origin #66 2018-04-03 11:51:58 +08:00
b5f4f01587 Rename call to hotline in transaction origin #66 2018-04-03 11:48:32 +08:00
66294ba62c Remove customer title requirement, now optional #66 2018-04-03 11:46:34 +08:00
b007352b19 Relabel JO service types #66 2018-04-03 11:45:25 +08:00
cc132288f8 Add trade-in categories #66 2018-04-03 11:31:11 +08:00
69bf01fa27 Make customer add and edit forward back to edit form #62 2018-04-01 02:44:15 +08:00
e371d9900d Allow user to create JO from customer vehicle #62 2018-04-01 02:22:24 +08:00
189f32d25c Update import vehicle to add secondary battery #58 2018-03-26 02:03:51 +08:00
f6145d45f1 Merge branch '52-migrate-contact-and-job-order-scripts' into 'master'
Resolve "Migrate contact and job order scripts"

Closes #52

See merge request jankstudio/resq!50
2018-03-21 19:24:48 +00:00
1e2df32443 Add migration script and initial sql dump for customer and customer vehicle #52 2018-03-22 03:23:11 +08:00
516fd0f90e Add vehicle indexing and initial work on customer import #52 2018-03-21 13:11:18 +08:00
d879358691 Make rider available and active by default #56 2018-03-16 12:00:24 +08:00
29e9c7864e Add job order counters to open job order form #55 2018-03-15 14:06:55 +08:00
30494f9889 Add csv files and initial import script for customer and jo migration #52 2018-03-15 14:02:16 +08:00
13f7676b6b Fixed ... shortening for tables in batteries and vehicles #51 2018-03-14 22:29:12 +08:00
ce6627e21a Add active flag in rider form #49 2018-03-14 21:51:24 +08:00
48f30f4dd9 Remove access check for ajax call on vehicle manufacturer #48 2018-03-14 19:34:15 +08:00
30b67386a6 Add migration tool for batteries and vehicles #UAT 2018-03-13 03:37:40 +08:00
9ad5f2557b Implement counters and fix rider flow #UAT 2018-03-12 18:32:59 +08:00
dc3774a835 Add availability flag for rider entity #UAT 2018-03-12 03:39:59 +08:00
ecd9ee0dcf Remove service type display in jo process list #UAT 2018-03-12 02:40:15 +08:00
4566f468c6 Replace spaces with blanks for plate number in customer vehicle #UAT 2018-03-12 02:06:58 +08:00
e02b821861 Capitalize plate number when saving to db #UAT 2018-03-12 01:36:34 +08:00
bc4a2ac7f7 Add promo detail field in job order #UAT 2018-03-12 01:36:11 +08:00
f807c7041e Add email field to customer #UAT 2018-03-12 00:15:51 +08:00
017a8bb30d Add landmark field #UAT 2018-03-11 04:01:14 +08:00
98c92c9184 Add deleted outlet methods and field to hub entity #UAT 2018-03-11 03:17:53 +08:00
a7ffb58fc8 Fix ticket functionality related to contact numbers #UAT 2018-03-11 02:44:44 +08:00
5c18619e80 Fix contact number related bugs #UAT 2018-03-11 02:36:13 +08:00
caf981e4a6 Fix and refactor customer controller and template #UAT 2018-03-10 21:47:27 +08:00
5769e1c366 Replace contact numbers with individual numbers in customer entity, controllers, and templates #UAT 2018-03-10 14:18:07 +08:00
99401b95e6 Add OR Name to job order entity and controller (incoming) and templates #UAT 2018-03-10 02:21:55 +08:00
8d1554a4b9 Add transaction origin / source to job order templates, controllers and entity #UAT 2018-03-10 01:44:43 +08:00
9d27d3a1d5 Reorder transaction origin name value #UAT 2018-03-10 00:28:52 +08:00
eab86ec007 Rename Processing to Dispatch #UAT 2018-03-09 23:49:32 +08:00
e27e902e49 Add post service types #UAT 2018-03-09 23:14:07 +08:00
24d18142c4 Add TransactionOrigin name value #UAT 2018-03-09 23:10:20 +08:00
b37dbd5986 Add driver_assigned event #45 2018-03-08 11:56:25 +08:00
d182c64b1f Rename start_rating MQTT event to fulfilled 2018-03-08 10:04:31 +08:00
4120677cb0 Add service type to invoice criteria calls #43 2018-03-08 03:13:27 +08:00
f5c7d17d2f Add MQTT event sending #41 2018-03-08 02:09:58 +08:00
7ef92bad99 Change getOutlet to getHub for get rider call #41 2018-03-07 22:11:55 +08:00
4811d7d1cf Fix edit rider by initializing has_schedule #40 2018-03-07 22:07:12 +08:00
e987f22fa6 Initialize array for rider schedule #39 2018-03-07 21:46:17 +08:00
ec0e7c1654 Add default value for customer title #38 2018-03-07 21:29:22 +08:00
Ramon Gutierrez
03f6b40ed3 Add mandatory cancellation reason to prompt #34 2018-03-02 03:26:47 +08:00
eabee25db9 Fix job order related bugs #33 2018-03-01 07:39:17 +08:00
36e4219f99 Add support for mode of payment dropdown #33 2018-03-01 07:28:59 +08:00
ad04131515 Add Tier 1 and Tier 2 notes #33 2018-03-01 04:15:44 +08:00
d942299be1 Change customer active flag to default to true #33 2018-03-01 04:06:52 +08:00
6997eba162 Replace Jumpstart / Troubleshoot label in service type with General Service #33 2018-03-01 03:56:31 +08:00
fbdcd6f31f Initialize job_order to null if not found #32 2018-03-01 02:39:18 +08:00
5cb38e8907 Use getName static method for NameValue values #32 2018-03-01 02:34:51 +08:00
6d78c37435 Merge branch '29-handle-under-warranty-with-invoice-generator' into 'master'
Resolve "Handle under warranty with invoice generator"

Closes #29

See merge request jankstudio/resq!31
2018-02-27 17:43:43 +00:00
1dd51a8dd3 Add support for invoice generation for under warranty #29 2018-02-28 01:42:09 +08:00
Ramon Gutierrez
cb7fffe49f Change timeline date format to 12-hour #31 2018-02-27 23:46:08 +08:00
Ramon Gutierrez
6262f933bc Add missing acl checks on list methods #30 2018-02-27 23:42:44 +08:00
Ramon Gutierrez
ab116d35ce Add view all job orders tier #26 2018-02-27 23:31:02 +08:00
13adca3721 Add service type to invoice criteria #29 2018-02-27 12:17:29 +08:00
Ramon Gutierrez
6c85108393 Add missing unlock_route tier param to open job order views #28 2018-02-27 06:43:47 +08:00
Ramon Gutierrez
ea4906d207 Merge branch 'master' into '13-job-order-reassignment'
# Conflicts:
#   src/Controller/JobOrderController.php
2018-02-26 22:36:18 +00:00
Ramon Gutierrez
c3199d80c4 Add job order cancel functionality #13 2018-02-27 06:32:15 +08:00
dddfbef619 Fix fulfillment table bug #14 2018-02-27 06:28:31 +08:00
6cd6fccb8c Add unlock processor and assignor feature for job order #14 2018-02-27 06:21:43 +08:00
Ramon Gutierrez
d0d8bb07e0 Add open role to job order #13 2018-02-27 05:53:55 +08:00
Ramon Gutierrez
84b57d82d6 Merge branch '25-customer-form-changes' into 'master'
Resolve "Customer form changes"

Closes #25

See merge request jankstudio/resq!23
2018-02-26 19:51:15 +00:00
Ramon Gutierrez
8baa8734bc Add title and active fields to customer form and list #25 2018-02-27 03:50:28 +08:00
ec6ca96f7d Merge branch '27-handling-jumpstart-on-invoice-computation-for-job-order' into 'master'
Resolve "Handling jumpstart on invoice computation for job order"

Closes #27

See merge request jankstudio/resq!24
2018-02-26 19:44:50 +00:00
d4e28cd332 Add service type to invoice computation #27 2018-02-27 03:43:30 +08:00
Ramon Gutierrez
c23845ce14 Add flag_active and title fields to customer #25 2018-02-27 03:11:29 +08:00
Ramon Gutierrez
d77dbcd209 Sort compatible battery list by highest price #24 2018-02-27 02:46:52 +08:00
Ramon Gutierrez
cae5a5bbac Add reference job order selector to incoming form #24 2018-02-27 02:37:29 +08:00
Ramon Gutierrez
b1e1612a4b Add reference job order to job order entity #24 2018-02-27 02:37:20 +08:00
Ramon Gutierrez
172e09c2ef Add ref_jo association to job order #24 2018-02-26 22:41:28 +08:00
Ramon Gutierrez
d8e5117c2e Add related tickets table to form #22 2018-02-26 18:37:07 +08:00
Ramon Gutierrez
50347027a3 Add job order ticket form blocks #21 2018-02-26 17:52:38 +08:00
Ramon Gutierrez
7b39419710 Link tickets to job order #21 2018-02-26 17:52:10 +08:00
Ramon Gutierrez
7cc7c81d98 Add plate number to tickets #21 2018-02-26 15:33:38 +08:00
Ramon Gutierrez
fd982a1e05 Update ticket types #21 2018-02-26 15:14:38 +08:00
2039ec9b3a Add job order cancel API call #20 2018-02-22 00:43:45 +08:00
6ec9f76d4d Add post rider rating API #18 2018-02-21 21:53:06 +08:00
Ramon Gutierrez
db2904f4de Add fulfillment job order list and form #15 2018-02-19 23:28:50 +08:00
Ramon Gutierrez
226da99ae4 Edit getfullname format for location #17 2018-02-19 14:13:49 +08:00
Ramon Gutierrez
e124b0cebd Fix job order form to use hubs instead of outlets #17 2018-02-19 14:11:56 +08:00
Ramon Gutierrez
d4cc431bac Associate job orders with hubs instead of outlets, filter assigning list to user assigned hubs only #17 2018-02-19 13:51:07 +08:00
Ramon Gutierrez
fb0b66de3d Add user hub assignments #17 2018-02-18 17:46:10 +08:00
Ramon Gutierrez
6d1a45ddf9 Add sap_code to battery entity/form #16 2018-02-18 17:17:47 +08:00
Ramon Gutierrez
5cadd27ffb Add branch name to hub column on rider table #12 2018-02-18 17:08:45 +08:00
Ramon Gutierrez
a4ae8f4726 Add rider schedule entry to rider form #8 2018-02-18 16:34:30 +08:00
Ramon Gutierrez
3c27cf53bf Add riderschedule entity #8 2018-02-18 16:34:09 +08:00
Ramon Gutierrez
8513e563f6 Add dayofweek namevalue #8 2018-02-18 16:33:57 +08:00
Ramon Gutierrez
277a709ead Apply auto refresh to job order list views #6 2018-02-17 16:50:30 +08:00
Ramon Gutierrez
036cf5209d Remove outletcounter entity #2 2018-02-17 15:10:43 +08:00
Ramon Gutierrez
49aaa90e37 Return only compatible batteries on job order form #1 2018-02-17 14:47:03 +08:00
3df1470559 Add current rating field for Rider entity #10 2018-02-16 16:58:57 +08:00
dfffcc43cb Add rider rating entity #10 2018-02-16 16:58:46 +08:00
0f546ac593 Add assignor locking for job order assigning #7 2018-02-16 16:02:16 +08:00
93b62a37a2 Add rider details in API rider status call 2018-02-07 21:47:29 +08:00
21b7727278 Add rider status API call 2018-02-07 15:23:20 +08:00
ed75a3936a Make API output for invoice item price decimal 2018-02-07 13:41:51 +08:00
ad8100fb26 Add API calls for estimate and job order request 2018-02-07 03:18:16 +08:00
9d04ff7879 Add API call for get estimate 2018-02-07 01:40:13 +08:00
7ea7e238cc Add hub branch in outlest list table 2018-02-06 16:15:09 +08:00
Ramon Gutierrez
f3ad3fe807 Merge branch 'master' of gitlab.com:jankstudio/resq 2018-02-05 13:20:24 +08:00
3b4c81f03c Fix job order processing bugs 2018-02-05 13:17:12 +08:00
Ramon Gutierrez
887823eee0 Add invoice display, prevent editing on anything other than incoming tier 2018-02-05 13:14:55 +08:00
Ramon Gutierrez
46ebd223a2 Regenerate invoice when changing promo 2018-02-05 03:45:28 +08:00
b012c29752 Fix bug in processor display on job orders processing list 2018-02-05 01:58:46 +08:00
f79aa12fbc Add discount support to invoice generation 2018-02-05 01:43:31 +08:00
1125eba1bc Merge branch 'master' of gitlab.com:jankstudio/resq 2018-02-05 01:24:07 +08:00
a3d793087d Fix invoice generation computations 2018-02-05 01:23:38 +08:00
Ramon Gutierrez
a6b1252f73 Add outletcounter entity 2018-02-04 23:40:12 +08:00
Ramon Gutierrez
884cd7b7f1 Add image file to battery, update cleanup task for orphaned images 2018-02-04 23:10:32 +08:00
Ramon Gutierrez
74b696099c Check if filename exists before proceeding with upload 2018-02-04 20:37:04 +08:00
141212d4e6 Rename owner to processor in job order list 2018-02-04 19:43:09 +08:00
1d0aaa211a Display owner in job order list 2018-02-04 19:41:46 +08:00
006db8a286 Add pessimistic locking for job order processing 2018-02-04 18:49:16 +08:00
Ramon Gutierrez
5c306c1723 Redirect add ticket to edit customer page if applicable 2018-02-04 17:14:11 +08:00
Ramon Gutierrez
5d05043034 Redirect ticket form back to customer update path if applicable 2018-02-04 17:11:28 +08:00
Ramon Gutierrez
dd5fbf7cd6 Restore using isset instead of in_array for number and vehicle whitelisting on customer 2018-02-04 16:55:06 +08:00
Ramon Gutierrez
2b0f97a678 Merge branch 'master' of gitlab.com:jankstudio/resq 2018-02-04 16:46:35 +08:00
Ramon Gutierrez
ff4ec511e4 Remove date_confirmed from mobile number + fix index bug on deletion of existing customer vehicle 2018-02-04 16:46:23 +08:00
c9af452629 Add API call to list ongoing job orders 2018-02-04 13:44:27 +08:00
b210401150 Change id to cv_id in list vehicles 2018-02-04 12:54:14 +08:00
46ad945686 Add reverse association for processed_by 2018-02-04 12:39:48 +08:00
8252d3cf1c Add default value to customer notes 2018-02-04 12:31:58 +08:00
23afaade96 Add default value to customer classificiation 2018-02-04 12:28:52 +08:00
3dff90da90 Add id to list vehicles for API 2018-02-04 12:13:59 +08:00
59d76c3975 Add locking version in job order entities and place TODOs in controller 2018-02-04 04:00:38 +08:00
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