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

85 lines
3.2 KiB
TypeScript
Raw Normal View History

import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FlexLayoutModule } from '@angular/flex-layout';
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 { MatCheckboxModule } from '@angular/material/checkbox';
import { MatChipsModule } from '@angular/material/chips';
2020-12-24 07:28:46 +00:00
import { MatOptionModule, MatRippleModule } from '@angular/material/core';
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';
2020-12-24 07:28:46 +00:00
import { MatSelectModule } from '@angular/material/select';
import { MatTableModule } from '@angular/material/table';
import { MatTabsModule } from '@angular/material/tabs';
import { MatTooltipModule } from '@angular/material/tooltip';
import { SharedModule } from '../shared/shared.module';
2020-12-24 07:28:46 +00:00
import { BillNumberComponent } from './bill-number/bill-number.component';
import { BillTypeComponent } from './bill-type/bill-type.component';
import { BillService } from './bill.service';
import { BillsComponent } from './bills/bills.component';
import { DiscountComponent } from './discount/discount.component';
import { SalesHomeComponent } from './home/sales-home.component';
import { MenuCategoriesComponent } from './menu-categories/menu-categories.component';
import { ModifiersComponent } from './modifiers/modifiers.component';
import { PaxComponent } from './pax/pax.component';
import { ProductsComponent } from './products/products.component';
2019-07-13 16:02:18 +00:00
import { QuantityComponent } from './quantity/quantity.component';
import { ReasonComponent } from './reason/reason.component';
import { ReceivePaymentComponent } from './receive-payment/receive-payment.component';
import { RunningTablesComponent } from './running-tables/running-tables.component';
import { SalesRoutingModule } from './sales-routing.module';
import { SplitBillComponent } from './split-bill/split-bill.component';
import { TablesDialogComponent } from './tables-dialog/tables-dialog.component';
@NgModule({
providers: [BillService],
declarations: [
BillsComponent,
2020-12-24 07:28:46 +00:00
BillNumberComponent,
BillTypeComponent,
DiscountComponent,
MenuCategoriesComponent,
ModifiersComponent,
PaxComponent,
ProductsComponent,
QuantityComponent,
ReceivePaymentComponent,
RunningTablesComponent,
SplitBillComponent,
2019-08-10 08:51:40 +00:00
SalesHomeComponent,
2019-08-10 13:19:05 +00:00
TablesDialogComponent,
ReasonComponent,
],
imports: [
CommonModule,
FlexLayoutModule,
2019-07-13 16:02:18 +00:00
ReactiveFormsModule,
MatBadgeModule,
MatButtonModule,
MatButtonToggleModule,
MatCardModule,
MatCheckboxModule,
MatChipsModule,
MatDialogModule,
2019-07-13 16:02:18 +00:00
MatDividerModule,
2020-12-24 07:28:46 +00:00
MatOptionModule,
MatIconModule,
2019-07-13 16:02:18 +00:00
MatInputModule,
MatRippleModule,
MatTableModule,
MatTabsModule,
MatTooltipModule,
2019-07-13 16:02:18 +00:00
SharedModule,
SalesRoutingModule,
2020-12-24 07:28:46 +00:00
MatSelectModule,
],
})
export class SalesModule {}