Compare commits
2 Commits
overhead_a
...
0.0.26
Author | SHA1 | Date | |
---|---|---|---|
05fb3c1677 | |||
cbc96036d9
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -3,4 +3,6 @@ ENV
|
|||||||
api/config/dbconfig.ini
|
api/config/dbconfig.ini
|
||||||
api/config/authservice.pub
|
api/config/authservice.pub
|
||||||
cli/config/dbconfig.ini
|
cli/config/dbconfig.ini
|
||||||
|
*~
|
||||||
|
.*~
|
||||||
|
|
||||||
|
@ -16,9 +16,9 @@
|
|||||||
<mat-label>Betrag (€)</mat-label>
|
<mat-label>Betrag (€)</mat-label>
|
||||||
<input matInput type="number" name="amount" ngModel/>
|
<input matInput type="number" name="amount" ngModel/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-form-field appearance="outline">
|
<mat-form-field appearance="outline" *ngIf="!shallBeRentPayment">
|
||||||
<mat-label>Beschreibung</mat-label>
|
<mat-label>Beschreibung</mat-label>
|
||||||
<input matInput name="description" ngModel/>
|
<input matInput name="description" [disabled]="shallBeRentPayment" ngModel/>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<button #addAccountEntryButton type="submit" mat-raised-button color="primary">Buchung speichern</button>
|
<button #addAccountEntryButton type="submit" mat-raised-button color="primary">Buchung speichern</button>
|
||||||
</form>
|
</form>
|
||||||
|
@ -106,6 +106,7 @@ export class AccountComponent implements OnInit {
|
|||||||
|
|
||||||
if (this.shallBeRentPayment) {
|
if (this.shallBeRentPayment) {
|
||||||
newAccountEntry.account_entry_category = this.accountEntryCategoriesInverseMap.get('Mietzahlung').id
|
newAccountEntry.account_entry_category = this.accountEntryCategoriesInverseMap.get('Mietzahlung').id
|
||||||
|
newAccountEntry.description = "Miete"
|
||||||
this.messageService.add(`shall be rentpayment, category is ${newAccountEntry.account_entry_category}`)
|
this.messageService.add(`shall be rentpayment, category is ${newAccountEntry.account_entry_category}`)
|
||||||
} else {
|
} else {
|
||||||
newAccountEntry.account_entry_category = formData.value.category
|
newAccountEntry.account_entry_category = formData.value.category
|
||||||
|
Reference in New Issue
Block a user