Renamed Accounts Audit to Audit Renamed Machines to Devices as it made sense Sections and Tables are now under Sections Permission Guest Book is now under Customers Permission Renamed Beer Consumption Report to Beer Sale Report Fix: Move Kot and Table to check what the final effect is
66 lines
2.0 KiB
TypeScript
66 lines
2.0 KiB
TypeScript
import { A11yModule } from '@angular/cdk/a11y';
|
|
import { CdkTableModule } from '@angular/cdk/table';
|
|
import { CommonModule } from '@angular/common';
|
|
import { NgModule } from '@angular/core';
|
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
import { ReactiveFormsModule } from '@angular/forms';
|
|
import { MomentDateAdapter } from '@angular/material-moment-adapter';
|
|
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 { MatDatepickerModule } from '@angular/material/datepicker';
|
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
import { MatIconModule } from '@angular/material/icon';
|
|
import { MatInputModule } from '@angular/material/input';
|
|
import { MatTableModule } from '@angular/material/table';
|
|
|
|
import { SharedModule } from '../shared/shared.module';
|
|
|
|
import { BeerSaleReportRoutingModule } from './beer-sale-report-routing.module';
|
|
import { BeerSaleReportComponent } from './beer-sale-report.component';
|
|
|
|
export const MY_FORMATS = {
|
|
parse: {
|
|
dateInput: 'DD-MMM-YYYY',
|
|
},
|
|
display: {
|
|
dateInput: 'DD-MMM-YYYY',
|
|
monthYearLabel: 'MMM YYYY',
|
|
dateA11yLabel: 'DD-MMM-YYYY',
|
|
monthYearA11yLabel: 'MMM YYYY',
|
|
},
|
|
};
|
|
|
|
@NgModule({
|
|
imports: [
|
|
A11yModule,
|
|
CommonModule,
|
|
CdkTableModule,
|
|
FlexLayoutModule,
|
|
MatAutocompleteModule,
|
|
MatButtonModule,
|
|
MatCardModule,
|
|
MatDatepickerModule,
|
|
MatFormFieldModule,
|
|
MatIconModule,
|
|
MatInputModule,
|
|
MatNativeDateModule,
|
|
MatTableModule,
|
|
ReactiveFormsModule,
|
|
SharedModule,
|
|
BeerSaleReportRoutingModule,
|
|
],
|
|
declarations: [BeerSaleReportComponent],
|
|
providers: [
|
|
{ provide: DateAdapter, useClass: MomentDateAdapter, deps: [MAT_DATE_LOCALE] },
|
|
{ provide: MAT_DATE_FORMATS, useValue: MY_FORMATS },
|
|
],
|
|
})
|
|
export class BeerSaleReportModule {}
|