Commit graph

26 commits

Author SHA1 Message Date
Daniel Dupriest
024e5dae9c
Merge pull request #113: Add economy ticket question/rule to policy
Added economy class check to policy.py file.
2019-03-06 18:00:18 -08:00
joe-arriaga
fdc3ebad96
Update policy.py 2019-03-06 16:42:58 -08:00
kououken
8fc4a2ba88 Implemented tests for create_report API and get_report helper function. 2019-03-06 15:10:18 -08:00
joe-arriaga
cbac519687
Update policy.py 2019-03-06 14:49:50 -08:00
joe-arriaga
f2943e1d69
Update policy.py 2019-03-06 09:50:52 -08:00
Joe Arriaga
6cd7903555 Added economy class check to policy.py file. 2019-03-02 20:37:38 -08:00
kououken
fd39ca7df7 Implemented tests for all policy rules. 2019-03-02 14:10:00 -08:00
kououken
1c8eb17e85 Fixed 'lowest_fare' rule bug. 2019-02-23 12:59:27 -08:00
kououken
b19cd21b41 Repaired all the broken field references. 2019-02-22 19:22:32 -08:00
kououken
a07258c1f5 All sections added to policy file. 2019-02-20 17:38:57 -08:00
kououken
9ea335d68f Fixed bugs in rules returning strings. 2019-02-20 17:05:36 -08:00
kououken
bc7fc340f5 Initial update of policy file. 2019-02-20 16:20:44 -08:00
kououken
d1bdab0701 Added docstring comments to all functions and classes. Renamed 'get_reports' to 'get_report'. 2019-02-16 12:11:37 -08:00
kououken
dccc35b794 Fixed stupid single vs. double quote error. 2019-02-15 15:18:02 -08:00
kououken
98f39d242d Patched policy link bug where links were opening in the same tab, navigating away from the page. 2019-02-15 15:12:59 -08:00
kououken
f7bee92fcd Added 'number' attribute to fields in the policy file, then sorted by this number when displaying. 2019-02-15 14:59:42 -08:00
Rupika
1f4cf8a43c changed per diem trip duration to integer from decimal 2019-02-14 19:28:21 -08:00
kououken
f95bd9ecee Implemented rule_violations in json for GET report. 2019-02-14 14:19:15 -08:00
kououken
70df4ec486 Changed 'type' references to 'field_type' in backend and a couple places in front end. 2019-02-13 17:38:27 -08:00
Rupika
26aa235612 section 4 per diem link 2019-02-10 12:44:26 -08:00
Rupika
7c1c41e828 made per diem link visible 2019-02-10 12:25:45 -08:00
Rupika
f19781a682 added function that displays data values 2019-02-07 18:13:32 -08:00
Rupika
9552589e24 added filter by user_id -- now reports only display based on user id 2019-02-07 17:13:43 -08:00
kououken
38a9464870 Implemented policy parsing, applied policy to report creation, added field_name to fields. 2019-02-07 15:32:21 -08:00
kououken
875641fbe4 Fixed policy file spacing. 2019-01-29 16:56:56 -08:00
kououken
a70d9aa6bc Moved policy files into 'backend/' and fixed (most) formatting issues. 2019-01-29 16:39:35 -08:00