Blacked, isorted, etc the python file
Was also moving the validation from schemas to models/validations
This commit is contained in:
@ -165,15 +165,6 @@ export class PaymentComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||
this.resetAddRow();
|
||||
this.updateView();
|
||||
}
|
||||
//
|
||||
// rowAmount(amount: string = ''): number {
|
||||
// try {
|
||||
// amount = amount.replace(new RegExp('(₹[s]*)|(,)|(s)', 'g'), '');
|
||||
// return round(evaluate(amount), 2);
|
||||
// } catch {
|
||||
// return 0;
|
||||
// }
|
||||
// }
|
||||
|
||||
resetAddRow() {
|
||||
this.form.get('addRow').reset({
|
||||
|
||||
@ -168,15 +168,6 @@ export class ReceiptComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||
this.resetAddRow();
|
||||
this.updateView();
|
||||
}
|
||||
//
|
||||
// rowAmount(amount: string = ''): number {
|
||||
// try {
|
||||
// amount = amount.replace(new RegExp('(₹[s]*)|(,)|(s)', 'g'), '');
|
||||
// return round(evaluate(amount), 2);
|
||||
// } catch {
|
||||
// return 0;
|
||||
// }
|
||||
// }
|
||||
|
||||
resetAddRow() {
|
||||
this.form.get('addRow').reset({
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
export const environment = {
|
||||
production: false,
|
||||
ACCESS_TOKEN_REFRESH_MINUTES: 10, // refresh token 10 minutes before expiry
|
||||
version: '8.0.1',
|
||||
version: '8.0.2',
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user