Ooops... forgot to commit this from the laptop.
Added a line to load the image our selves if the proxy fails to do so.
Merged aib ui and share screen
Merge branch 'master' into save_report
Risk id was added twice in the schema for accident report. Corrected
that.
Added some more tests to check if witnesses are pulled from the db. This
is still failing however insert works. Update doesn't work though... it
works but returns false it would seem. Also need to check if the
witnesses are duplicated?
Put photos in the hash table and added the photos when we get a hash
table.
Finished setting up this model properly so that accident report will see
it. Also implemented the parentUpdated thing. We ensured that the
category and the filename will get saved to the database.
Removed the get and set id
Added in the test for photos.
Added accident_report_id and did some updates to fromJSON and getSchema
Tidied this up, added acc report id and impl parentUpdated
Added "Other" and a call to save the accident report.
Added a get database name and reformatted the script.
Added some code in setLoginState to load in the accident reports for the
user once they have logged in. Haven't tested this yet.
Added customer id, dirty and save method.
Added call to saveAccidentReport
Changed DRIVER_LICENSE to LICENSE_NUMBER and changed accident_report_id
to accidentReportId in ThirdPartyDetail.
Made some changes to accomodate the licenseNumber for the
ThirdPartyAccordion
Changed accident report and photo to always require the filename of the
photo.