2019-07-06 08:16:18 +00:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { CommonModule } from '@angular/common';
|
2019-07-13 16:02:18 +00:00
|
|
|
import { ReactiveFormsModule } from '@angular/forms';
|
2019-07-06 08:16:18 +00:00
|
|
|
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';
|
2019-08-17 19:35:59 +00:00
|
|
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
2019-07-06 08:16:18 +00:00
|
|
|
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';
|
2019-07-11 06:47:41 +00:00
|
|
|
import { MatIconModule } from '@angular/material/icon';
|
2019-07-13 16:02:18 +00:00
|
|
|
import { MatInputModule } from '@angular/material/input';
|
2020-06-14 13:13:10 +00:00
|
|
|
import { MatRippleModule } from '@angular/material/core';
|
|
|
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
2019-07-11 06:47:41 +00:00
|
|
|
import { MatTableModule } from '@angular/material/table';
|
2019-07-06 08:16:18 +00:00
|
|
|
import { MatTabsModule } from '@angular/material/tabs';
|
|
|
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
|
|
|
2019-08-10 20:07:14 +00:00
|
|
|
import { SharedModule } from '../shared/shared.module';
|
2019-07-06 08:16:18 +00:00
|
|
|
import { SalesRoutingModule } from './sales-routing.module';
|
2019-07-11 06:47:41 +00:00
|
|
|
import { RunningTablesComponent } from './running-tables/running-tables.component';
|
2019-07-06 08:16:18 +00:00
|
|
|
import { MenuCategoriesComponent } from './menu-categories/menu-categories.component';
|
|
|
|
import { ProductsComponent } from './products/products.component';
|
|
|
|
import { ModifiersComponent } from './modifiers/modifiers.component';
|
2019-07-11 06:47:41 +00:00
|
|
|
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';
|
2019-08-10 20:07:14 +00:00
|
|
|
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';
|
2019-08-25 17:52:50 +00:00
|
|
|
import { ReasonComponent } from './reason/reason.component';
|
2019-08-26 09:41:28 +00:00
|
|
|
import { PaxComponent } from "./pax/pax.component";
|
2019-07-06 08:16:18 +00:00
|
|
|
|
|
|
|
@NgModule({
|
2019-07-11 06:47:41 +00:00
|
|
|
providers: [
|
|
|
|
BillService
|
|
|
|
],
|
|
|
|
declarations: [
|
2019-08-08 08:01:30 +00:00
|
|
|
BillsComponent,
|
2019-08-08 11:05:03 +00:00
|
|
|
BillTypeComponent,
|
2019-08-08 08:01:30 +00:00
|
|
|
DiscountComponent,
|
2019-07-11 06:47:41 +00:00
|
|
|
MenuCategoriesComponent,
|
|
|
|
ModifiersComponent,
|
2019-08-26 09:41:28 +00:00
|
|
|
PaxComponent,
|
2019-08-08 08:01:30 +00:00
|
|
|
ProductsComponent,
|
|
|
|
QuantityComponent,
|
2019-08-09 09:25:38 +00:00
|
|
|
ReceivePaymentComponent,
|
2019-08-08 08:01:30 +00:00
|
|
|
RunningTablesComponent,
|
2019-08-10 08:51:40 +00:00
|
|
|
SalesHomeComponent,
|
2019-08-10 13:19:05 +00:00
|
|
|
TablesDialogComponent,
|
2019-08-25 17:52:50 +00:00
|
|
|
ReasonComponent
|
2019-07-11 06:47:41 +00:00
|
|
|
],
|
2019-07-06 08:16:18 +00:00
|
|
|
imports: [
|
|
|
|
CommonModule,
|
|
|
|
FlexLayoutModule,
|
2019-07-13 16:02:18 +00:00
|
|
|
ReactiveFormsModule,
|
2019-07-06 08:16:18 +00:00
|
|
|
MatBadgeModule,
|
|
|
|
MatButtonModule,
|
|
|
|
MatButtonToggleModule,
|
|
|
|
MatCardModule,
|
2019-08-17 19:35:59 +00:00
|
|
|
MatCheckboxModule,
|
2019-07-06 08:16:18 +00:00
|
|
|
MatChipsModule,
|
|
|
|
MatDialogModule,
|
2019-07-13 16:02:18 +00:00
|
|
|
MatDividerModule,
|
2019-07-11 06:47:41 +00:00
|
|
|
MatIconModule,
|
2019-07-13 16:02:18 +00:00
|
|
|
MatInputModule,
|
|
|
|
MatRippleModule,
|
2019-07-11 06:47:41 +00:00
|
|
|
MatTableModule,
|
2019-07-06 08:16:18 +00:00
|
|
|
MatTabsModule,
|
2019-08-18 16:35:33 +00:00
|
|
|
MatTooltipModule,
|
2019-07-13 16:02:18 +00:00
|
|
|
SharedModule,
|
2019-07-06 08:16:18 +00:00
|
|
|
SalesRoutingModule
|
|
|
|
]
|
|
|
|
})
|
|
|
|
export class SalesModule { }
|