Commit graph

236 commits

Author SHA1 Message Date
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