help texts edited, customer dashboard finished and feedback form added

This commit is contained in:
piratefinn 2017-09-01 14:36:31 +01:00
parent 24037e0454
commit 506e3b36da
7 changed files with 272 additions and 47 deletions

View file

@ -83,6 +83,20 @@ export class ApiService {
).map( response => { this.removeSessionKey(); return response.json() } );
}
// Submits feedback
public feedback(data) {
data.app_name = 'Foodloop Web';
data.package_name = 'Foodloop Web';
data.version_code = '';
data.version_number = '';
console.log(data);
return this.http.post(
this.apiUrl + '/feedback',
data
).map( response => response.json() );
}
// Searches organisations used for transaction submission
public search(data) {