force update payment method

This commit is contained in:
2024-11-15 11:17:07 +01:00
parent 914b1e2657
commit 34f9169759
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "buntspecht-web",
"version": "0.6.1",
"version": "0.6.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "buntspecht-web",
"version": "0.6.1",
"version": "0.6.2",
"license": "AGPL3",
"dependencies": {
"@angular/animations": "^18.2.12",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "buntspecht-web",
"version": "0.6.1",
"version": "0.6.2",
"license": "AGPL3",
"scripts": {
"ng": "ng",
@@ -78,7 +78,7 @@ export class PageTurnover implements OnInit {
this.form.get("customer").setValue(this.turnover.customer);
this.form.get("motif").setValue(this.turnover.motif);
this.form.get("price").setValue(this.turnover.price);
this.form.get("paymentMethod").setValue(this.turnover.paymentMethod || 'card');
this.form.get("paymentMethod").setValue(this.turnover.paymentMethod);
this.form.get("giftcardNumber").setValue(this.turnover.giftcardNumber);
this.form.get("giftcardPrice").setValue(this.turnover.giftcardPrice);
this.form.get("timeInvestment").setValue(this.turnover.timeInvestment);