Commit graph

1735 commits

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