Commit graph

18 commits

Author SHA1 Message Date
8e3df8f1c4 Treat blank serial as null to avoid unique exception in db #270 2020-03-06 07:42:00 +08:00
Korina Cordero
28b93a83d0 Add index for plate number in warranty. Finish warranty class report. #283 2019-11-28 05:20:29 +00:00
Korina Cordero
e0294062ca Add access rights for setting privacy policy. Add privacy policy field to Warranty, along with setter and getter. #261 2019-08-30 02:12:01 +00:00
Korina Cordero
96bd2684b1 Revert "Merge branch '256-privacy-policy-for-warranty' into 'master'"
This reverts merge request !302
2019-08-28 01:56:01 +00:00
Korina Cordero
b8504c3701 Modify the assocation between PrivacyPolicy and Warranty to ManyToOne. #256 2019-08-28 00:32:48 +00:00
Korina Cordero
9efc347a7f Add setPrivacyPolicy method to APIController. Add route and acl for setting of privacy policy for warranty. Allow null to be set for setPrivacyPolicy in Warranty entity. Modify the checking for missing parameters, from empty to isset. #256 2019-08-27 07:49:10 +00:00
Korina Cordero
6398c58b32 Add privacy policy field to warranty. Add getter and setter and method to check for privacy policy in Warranty. #256 2019-08-27 06:10:36 +00:00
Korina Cordero
13b955d0b6 Add route to activate warranty. Move the code to search for warranty to a separate function. Fix bug in Warranty entity when setting flag_activated. #227 2019-07-02 09:15:06 +00:00
Korina Cordero
baf7b51f14 Add flag_activated to the Warranty entity. Add Status field to Warranty results of search. #227 2019-07-01 07:46:54 +00:00
Korina Cordero
2a501e60e4 Update plate number validation, according to specifications. #211 2019-05-15 02:17:41 +00:00
f0d94e034f Add first_name, last_name, and mobile_number fields to warranty #177 2019-01-30 22:12:36 +08:00
15b7473af7 Add sap battery field to warranty entity #172 2019-01-21 02:08:49 +08:00
bc9cf2a74f Modify claim warranty api call #171 2019-01-10 02:26:42 +08:00
d39d554ba1 Add warranty migration for legacy data #168 2019-01-03 05:51:33 +08:00
030668e43b Fix plate number cleaning #168 2018-11-07 22:29:08 +08:00
d78e30c9c2 Add battery model and size to warranty and change warranty routes #166 2018-11-06 01:14:19 +08:00
4867f1b6bb Finish warranty api calls #164 2018-10-26 00:58:32 +08:00
959d2c6efc Add warranty entity, refactor controller, and fix bugs #164 2018-10-24 22:20:45 +08:00