Chore: Moved from css to sass, god knows what to do now.

Chore: Prettier line length changed to 120 from 100
Fix: Hard coded the face as the primary color to make the buttons stand out
This commit is contained in:
2023-03-13 23:52:44 +05:30
parent b021861ba3
commit efa2af396d
123 changed files with 313 additions and 836 deletions

View File

@ -9,10 +9,7 @@ describe('BillSettlementReportResolver', () => {
});
});
it('should be created', inject(
[BillSettlementReportResolver],
(service: BillSettlementReportResolver) => {
expect(service).toBeTruthy();
},
));
it('should be created', inject([BillSettlementReportResolver], (service: BillSettlementReportResolver) => {
expect(service).toBeTruthy();
}));
});

View File

@ -34,9 +34,7 @@
<mat-datepicker-toggle matSuffix [for]="finishDate"></mat-datepicker-toggle>
<mat-datepicker #finishDate></mat-datepicker>
</mat-form-field>
<button mat-raised-button class="flex-auto basis-1/5" color="primary" (click)="show()">
Show
</button>
<button mat-raised-button class="flex-auto basis-1/5" color="primary" (click)="show()">Show</button>
</div>
</form>
<mat-table #table [dataSource]="dataSource" aria-label="Elements">

View File

@ -15,9 +15,7 @@ import { BillSettlementReportDataSource } from './bill-settlement-report-datasou
})
export class BillSettlementReportComponent implements OnInit {
info: BillSettlementReport = new BillSettlementReport();
dataSource: BillSettlementReportDataSource = new BillSettlementReportDataSource(
this.info.amounts,
);
dataSource: BillSettlementReportDataSource = new BillSettlementReportDataSource(this.info.amounts);
form: FormGroup<{
startDate: FormControl<Date>;

View File

@ -6,12 +6,7 @@ import { ReactiveFormsModule } from '@angular/forms';
import { MatAutocompleteModule } from '@angular/material/autocomplete';
import { MatButtonModule } from '@angular/material/button';
import { MatCardModule } from '@angular/material/card';
import {
DateAdapter,
MAT_DATE_FORMATS,
MAT_DATE_LOCALE,
MatNativeDateModule,
} from '@angular/material/core';
import { DateAdapter, MAT_DATE_FORMATS, MAT_DATE_LOCALE, MatNativeDateModule } from '@angular/material/core';
import { MatDatepickerModule } from '@angular/material/datepicker';
import { MatFormFieldModule } from '@angular/material/form-field';
import { MatIconModule } from '@angular/material/icon';

View File

@ -9,10 +9,7 @@ describe('BillSettlementReportService', () => {
});
});
it('should be created', inject(
[BillSettlementReportService],
(service: BillSettlementReportService) => {
expect(service).toBeTruthy();
},
));
it('should be created', inject([BillSettlementReportService], (service: BillSettlementReportService) => {
expect(service).toBeTruthy();
}));
});

View File

@ -26,8 +26,6 @@ export class BillSettlementReportService {
}
return this.http
.get<BillSettlementReport>(url, options)
.pipe(
catchError(this.log.handleError(serviceName, 'get')),
) as Observable<BillSettlementReport>;
.pipe(catchError(this.log.handleError(serviceName, 'get'))) as Observable<BillSettlementReport>;
}
}