add products

This commit is contained in:
2020-06-29 20:08:48 +02:00
parent dd7df2b28e
commit 525e465f5d
15 changed files with 120 additions and 97 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ import Model, { attr } from '@ember-data/model';
export default class ProduktModel extends Model {
@attr ('string') titel;
@attr ('boolean') isSelected;
@attr ('boolean') isselected;
@attr ('string') kategorie;
@attr ('number') menge;
@attr ('string') einheit;
@@ -10,6 +10,6 @@ export default class ProduktModel extends Model {
get status()
{
return `${this.titel} ${this.IsSelected}`
return `${this.titel} ${this.isselected}`
}
}
+1 -1
View File
@@ -2,7 +2,7 @@ import Model, { attr, hasMany } from '@ember-data/model';
export default class RezeptModel extends Model {
@attr ('string') titel;
@attr ('boolean') isSelected;
@attr ('boolean') isselected;
@attr ('string') beschreibung;
@attr ('string') kategorie;
@attr produkte;