barker/bookie/src/app/sales/sales.module.ts

82 lines
2.9 KiB
TypeScript
Raw Normal View History

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
2019-07-13 16:02:18 +00:00
import { ReactiveFormsModule } from '@angular/forms';
import { MatBadgeModule } from '@angular/material/badge';
import { MatButtonModule } from '@angular/material/button';
import { MatButtonToggleModule } from '@angular/material/button-toggle';
import { MatCardModule } from '@angular/material/card';
import { MatChipsModule } from '@angular/material/chips';
import { MatDialogModule } from '@angular/material/dialog';
2019-07-13 16:02:18 +00:00
import { MatDividerModule } from '@angular/material/divider';
import { MatIconModule } from '@angular/material/icon';
2019-07-13 16:02:18 +00:00
import { MatInputModule } from '@angular/material/input';
import { MatRippleModule } from '@angular/material';
import { MatTableModule } from '@angular/material/table';
import { MatTabsModule } from '@angular/material/tabs';
import { FlexLayoutModule } from '@angular/flex-layout';
import { SharedModule } from '../shared/shared.module';
import { SalesRoutingModule } from './sales-routing.module';
import { RunningTablesComponent } from './running-tables/running-tables.component';
import { MenuCategoriesComponent } from './menu-categories/menu-categories.component';
import { ProductsComponent } from './products/products.component';
import { ModifiersComponent } from './modifiers/modifiers.component';
import { BillsComponent } from './bills/bills.component';
import { SalesHomeComponent } from './home/sales-home.component';
import { BillService } from './bill.service';
2019-07-13 16:02:18 +00:00
import { QuantityComponent } from './quantity/quantity.component';
import { DiscountComponent } from './discount/discount.component';
import { BillTypeComponent } from './bill-type/bill-type.component';
import { ReceivePaymentComponent } from './receive-payment/receive-payment.component';
import { TablesDialogComponent } from './tables-dialog/tables-dialog.component';
import { VoidReasonComponent } from './void-reason/void-reason.component';
@NgModule({
providers: [
BillService
],
declarations: [
BillsComponent,
BillTypeComponent,
DiscountComponent,
MenuCategoriesComponent,
ModifiersComponent,
ProductsComponent,
QuantityComponent,
ReceivePaymentComponent,
RunningTablesComponent,
2019-08-10 08:51:40 +00:00
SalesHomeComponent,
2019-08-10 13:19:05 +00:00
TablesDialogComponent,
VoidReasonComponent
],
imports: [
CommonModule,
FlexLayoutModule,
2019-07-13 16:02:18 +00:00
ReactiveFormsModule,
MatBadgeModule,
MatButtonModule,
MatButtonToggleModule,
MatCardModule,
MatChipsModule,
MatDialogModule,
2019-07-13 16:02:18 +00:00
MatDividerModule,
MatIconModule,
2019-07-13 16:02:18 +00:00
MatInputModule,
MatRippleModule,
MatTableModule,
MatTabsModule,
2019-07-13 16:02:18 +00:00
SharedModule,
SalesRoutingModule
],
entryComponents: [
BillTypeComponent,
DiscountComponent,
2019-07-13 16:02:18 +00:00
ModifiersComponent,
QuantityComponent,
2019-08-10 08:51:40 +00:00
ReceivePaymentComponent,
2019-08-10 13:19:05 +00:00
TablesDialogComponent,
VoidReasonComponent
]
})
export class SalesModule { }