Browse Source

Merge 82c266d2f8 into 449eaa1baa

pull/7003/merge
Thomas Kaul 15 hours ago
committed by GitHub
parent
commit
a54e6ba7da
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 7
      libs/ui/src/lib/account-balances/account-balances.component.html
  3. 1
      libs/ui/src/lib/account-balances/account-balances.component.ts

1
CHANGELOG.md

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- Prefilled the form in the account balance management with the current cash balance - Prefilled the form in the account balance management with the current cash balance
- Disabled the selection of future dates in the account balance management
## 3.8.0 - 2026-06-07 ## 3.8.0 - 2026-06-07

7
libs/ui/src/lib/account-balances/account-balances.component.html

@ -16,7 +16,12 @@
</td> </td>
<td *matFooterCellDef class="px-2" mat-footer-cell> <td *matFooterCellDef class="px-2" mat-footer-cell>
<mat-form-field appearance="outline" class="py-1 without-hint"> <mat-form-field appearance="outline" class="py-1 without-hint">
<input formControlName="date" matInput [matDatepicker]="date" /> <input
formControlName="date"
matInput
[matDatepicker]="date"
[max]="maxDate"
/>
<mat-datepicker-toggle matSuffix [for]="date"> <mat-datepicker-toggle matSuffix [for]="date">
<ion-icon <ion-icon
class="text-muted" class="text-muted"

1
libs/ui/src/lib/account-balances/account-balances.component.ts

@ -85,6 +85,7 @@ export class GfAccountBalancesComponent implements OnChanges, OnInit {
public dataSource = new MatTableDataSource< public dataSource = new MatTableDataSource<
AccountBalancesResponse['balances'][0] AccountBalancesResponse['balances'][0]
>(); >();
public maxDate = new Date();
private dateAdapter = inject<DateAdapter<Date, string>>(DateAdapter); private dateAdapter = inject<DateAdapter<Date, string>>(DateAdapter);
private notificationService = inject(NotificationService); private notificationService = inject(NotificationService);

Loading…
Cancel
Save