2020-10-11 05:26:29 +00:00
|
|
|
import { SelectionModel } from '@angular/cdk/collections';
|
2019-07-11 06:47:41 +00:00
|
|
|
import { Injectable } from '@angular/core';
|
2020-06-14 13:13:10 +00:00
|
|
|
import { MatDialog } from '@angular/material/dialog';
|
2020-12-16 06:19:22 +00:00
|
|
|
import { round } from 'mathjs';
|
2020-12-16 17:04:41 +00:00
|
|
|
import { BehaviorSubject, throwError } from 'rxjs';
|
2019-08-08 08:01:30 +00:00
|
|
|
import { Observable } from 'rxjs/internal/Observable';
|
2020-12-16 17:04:41 +00:00
|
|
|
import { tap } from 'rxjs/operators';
|
2020-10-11 05:26:29 +00:00
|
|
|
|
2020-11-22 04:43:37 +00:00
|
|
|
import { BillViewItem } from '../core/bill-view-item';
|
2020-10-11 05:26:29 +00:00
|
|
|
import { ModifierCategory } from '../core/modifier-category';
|
2019-07-11 06:47:41 +00:00
|
|
|
import { Product } from '../core/product';
|
2020-12-13 04:14:32 +00:00
|
|
|
import { ReceivePaymentItem } from '../core/receive-payment-item';
|
2020-12-16 06:19:22 +00:00
|
|
|
import { SaleCategory } from '../core/sale-category';
|
2020-10-11 05:26:29 +00:00
|
|
|
import { Table } from '../core/table';
|
|
|
|
import { ToasterService } from '../core/toaster.service';
|
2019-07-11 06:47:41 +00:00
|
|
|
import { ModifierCategoryService } from '../modifier-categories/modifier-category.service';
|
2020-10-11 05:26:29 +00:00
|
|
|
|
|
|
|
import { Bill } from './bills/bill';
|
2020-12-16 17:04:41 +00:00
|
|
|
import { BillSelectionItem } from './bills/bill-selection-item';
|
2020-10-11 05:26:29 +00:00
|
|
|
import { Inventory } from './bills/inventory';
|
|
|
|
import { Kot } from './bills/kot';
|
2020-11-22 04:43:37 +00:00
|
|
|
import { VoucherType } from './bills/voucher-type';
|
2019-08-08 08:01:30 +00:00
|
|
|
import { VoucherService } from './bills/voucher.service';
|
2020-10-11 05:26:29 +00:00
|
|
|
import { ModifiersComponent } from './modifiers/modifiers.component';
|
2019-07-11 06:47:41 +00:00
|
|
|
|
|
|
|
@Injectable()
|
|
|
|
export class BillService {
|
2020-11-25 03:57:42 +00:00
|
|
|
public dataObs: BehaviorSubject<BillViewItem[]>;
|
2020-11-22 04:43:37 +00:00
|
|
|
public bill: Bill = new Bill();
|
2019-08-10 20:07:14 +00:00
|
|
|
public netAmount: BehaviorSubject<number>;
|
|
|
|
public discountAmount: BehaviorSubject<number>;
|
|
|
|
public taxAmount: BehaviorSubject<number>;
|
|
|
|
public amount: BehaviorSubject<number>;
|
2020-12-16 17:04:41 +00:00
|
|
|
public amountVal: number;
|
|
|
|
public selection = new SelectionModel<string>(true, []);
|
2019-07-12 07:06:38 +00:00
|
|
|
|
2019-07-11 06:47:41 +00:00
|
|
|
constructor(
|
2019-07-12 07:06:38 +00:00
|
|
|
private dialog: MatDialog,
|
2019-08-08 08:01:30 +00:00
|
|
|
private toaster: ToasterService,
|
2019-07-13 16:02:18 +00:00
|
|
|
private ser: VoucherService,
|
2020-10-11 05:26:29 +00:00
|
|
|
private modifierCategoryService: ModifierCategoryService,
|
2019-07-12 07:06:38 +00:00
|
|
|
) {
|
2020-12-16 17:04:41 +00:00
|
|
|
this.dataObs = new BehaviorSubject<BillViewItem[]>([]);
|
2019-08-10 20:07:14 +00:00
|
|
|
this.netAmount = new BehaviorSubject(0);
|
|
|
|
this.discountAmount = new BehaviorSubject(0);
|
|
|
|
this.taxAmount = new BehaviorSubject(0);
|
|
|
|
this.amount = new BehaviorSubject(0);
|
2020-12-16 17:04:41 +00:00
|
|
|
this.amountVal = 0;
|
|
|
|
this.amount.pipe(tap((x) => (this.amountVal = x)));
|
|
|
|
}
|
|
|
|
|
|
|
|
displayBill(): void {
|
|
|
|
const data = this.transformBillToView(this.bill);
|
|
|
|
this.dataObs.next(data);
|
|
|
|
this.updateAmounts();
|
|
|
|
}
|
|
|
|
|
|
|
|
transformBillToView(bill: Bill): BillViewItem[] {
|
|
|
|
const view: BillViewItem[] = bill.kots
|
|
|
|
.map((k: Kot) => [
|
|
|
|
new BillViewItem({
|
|
|
|
kotId: k.id,
|
|
|
|
isKot: true,
|
|
|
|
info: k.id ? `Kot: ${k.code} / ${k.date} (${k.user.name})` : '== New Kot ==',
|
|
|
|
}),
|
|
|
|
...k.inventories.map(
|
|
|
|
(i) =>
|
|
|
|
new BillViewItem({
|
|
|
|
id: i.id,
|
|
|
|
kotId: k.id,
|
|
|
|
isKot: false,
|
|
|
|
productId: i.product.id,
|
|
|
|
isHappyHour: i.isHappyHour,
|
|
|
|
isPrinted: !!k.id,
|
|
|
|
info: `${i.product.name} @ ${i.price} - ${round(i.discount * 100, 2)}%`,
|
|
|
|
quantity: i.quantity,
|
|
|
|
modifiers: i.modifiers,
|
|
|
|
}),
|
|
|
|
),
|
|
|
|
])
|
|
|
|
.reduce((a, c) => a.concat(c), []);
|
|
|
|
return view;
|
2019-07-12 07:06:38 +00:00
|
|
|
}
|
2019-07-11 06:47:41 +00:00
|
|
|
|
2019-07-13 16:02:18 +00:00
|
|
|
loadData(bill: Bill): void {
|
2020-12-16 17:04:41 +00:00
|
|
|
bill.kots.push(new Kot());
|
2019-07-13 16:02:18 +00:00
|
|
|
this.bill = bill;
|
2020-12-16 17:04:41 +00:00
|
|
|
this.displayBill();
|
2019-07-12 07:06:38 +00:00
|
|
|
}
|
2020-10-11 05:26:29 +00:00
|
|
|
|
2020-10-11 15:23:43 +00:00
|
|
|
minimum(productId: string, happyHour: boolean): number {
|
2020-12-16 17:04:41 +00:00
|
|
|
return this.bill.kots.reduce(
|
|
|
|
(t, k) =>
|
|
|
|
k.inventories.reduce(
|
|
|
|
(a, c) =>
|
|
|
|
c.product.id === productId && c.isHappyHour === happyHour ? a + c.quantity : a,
|
|
|
|
0,
|
|
|
|
) + t,
|
2020-10-11 15:23:43 +00:00
|
|
|
0,
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
addProduct(product: Product, quantity: number, discount: number): void {
|
2020-12-16 17:04:41 +00:00
|
|
|
const newKot = this.bill.kots.find((k) => k.id === undefined) as Kot;
|
|
|
|
const old = newKot.inventories.find(
|
|
|
|
(x) => x.product.id === product.id && x.isHappyHour === product.hasHappyHour,
|
2019-08-08 11:05:03 +00:00
|
|
|
);
|
2020-10-11 15:23:43 +00:00
|
|
|
if (quantity < 0) {
|
2020-11-22 04:43:37 +00:00
|
|
|
const minimum = this.minimum(product.id as string, product.hasHappyHour) + quantity;
|
2020-10-11 15:23:43 +00:00
|
|
|
if (minimum + quantity < 0) {
|
|
|
|
this.toaster.show('Error', 'Total quantity cannot be negative!');
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
2019-07-12 07:06:38 +00:00
|
|
|
if (old !== undefined) {
|
2020-10-11 15:23:43 +00:00
|
|
|
old.quantity += quantity;
|
2019-07-12 07:06:38 +00:00
|
|
|
} else {
|
2020-12-16 17:04:41 +00:00
|
|
|
const item = new Inventory({
|
2020-10-11 05:26:29 +00:00
|
|
|
product,
|
2020-10-11 15:23:43 +00:00
|
|
|
quantity,
|
2020-12-16 17:04:41 +00:00
|
|
|
price: product.price,
|
|
|
|
isHappyHour: product.hasHappyHour,
|
2019-08-10 20:07:14 +00:00
|
|
|
taxRate: product.tax.rate,
|
|
|
|
tax: product.tax,
|
2020-12-16 17:04:41 +00:00
|
|
|
discount,
|
2020-10-11 05:26:29 +00:00
|
|
|
modifiers: [],
|
2020-11-25 03:57:42 +00:00
|
|
|
});
|
2020-12-16 17:04:41 +00:00
|
|
|
newKot.inventories.push(item);
|
2020-11-22 04:43:37 +00:00
|
|
|
this.modifierCategoryService.listForProduct(product.id as string).subscribe((result) => {
|
2020-12-08 13:20:46 +00:00
|
|
|
if (result.reduce((a: number, c: ModifierCategory) => a + c.minimum, 0)) {
|
2019-07-12 07:06:38 +00:00
|
|
|
this.showModifier(item);
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
2020-12-16 17:04:41 +00:00
|
|
|
this.displayBill();
|
2019-07-11 06:47:41 +00:00
|
|
|
}
|
|
|
|
|
2020-12-16 17:04:41 +00:00
|
|
|
showModifier(item: Inventory): void {
|
2019-07-11 06:47:41 +00:00
|
|
|
// [routerLink]="['/sales', 'modifiers', item.id]"
|
|
|
|
const dialogRef = this.dialog.open(ModifiersComponent, {
|
|
|
|
position: {
|
2020-10-11 05:26:29 +00:00
|
|
|
top: '10vh',
|
2019-07-11 06:47:41 +00:00
|
|
|
},
|
|
|
|
data: {
|
2020-12-16 17:04:41 +00:00
|
|
|
list: this.modifierCategoryService.listForProduct(item.product.id as string),
|
2020-10-11 05:26:29 +00:00
|
|
|
selected: item.modifiers,
|
|
|
|
},
|
2019-07-11 06:47:41 +00:00
|
|
|
});
|
|
|
|
|
2020-10-11 05:26:29 +00:00
|
|
|
dialogRef.afterClosed().subscribe((result) => {
|
2019-07-12 07:06:38 +00:00
|
|
|
if (result !== undefined) {
|
2019-07-11 06:47:41 +00:00
|
|
|
item.modifiers = result;
|
|
|
|
}
|
|
|
|
});
|
2020-12-16 17:04:41 +00:00
|
|
|
this.displayBill();
|
2019-07-11 06:47:41 +00:00
|
|
|
}
|
|
|
|
|
2020-11-25 03:57:42 +00:00
|
|
|
addOne(item: BillViewItem): void {
|
2020-12-16 17:04:41 +00:00
|
|
|
const newKot = this.bill.kots.find((k) => k.id === undefined) as Kot;
|
|
|
|
const old = newKot.inventories.find(
|
|
|
|
(x) => x.product.id === item.productId && x.isHappyHour === item.isHappyHour,
|
|
|
|
) as Inventory;
|
|
|
|
old.quantity += 1;
|
|
|
|
this.displayBill();
|
2019-07-11 06:47:41 +00:00
|
|
|
}
|
|
|
|
|
2020-11-25 03:57:42 +00:00
|
|
|
quantity(item: BillViewItem, quantity: number): void {
|
2020-12-16 17:04:41 +00:00
|
|
|
const newKot = this.bill.kots.find((k) => k.id === undefined) as Kot;
|
|
|
|
const old = newKot.inventories.find(
|
|
|
|
(x) => x.product.id === item.productId && x.isHappyHour === item.isHappyHour,
|
|
|
|
) as Inventory;
|
|
|
|
old.quantity = quantity;
|
|
|
|
this.displayBill();
|
2019-07-11 06:47:41 +00:00
|
|
|
}
|
|
|
|
|
2020-11-25 03:57:42 +00:00
|
|
|
subtractOne(item: BillViewItem, canEdit: boolean): void {
|
2020-12-16 17:04:41 +00:00
|
|
|
const newKot = this.bill.kots.find((k) => k.id === undefined) as Kot;
|
|
|
|
const old = newKot.inventories.find(
|
|
|
|
(x) => x.product.id === item.productId && x.isHappyHour === item.isHappyHour,
|
|
|
|
) as Inventory;
|
2020-11-25 03:57:42 +00:00
|
|
|
if (
|
|
|
|
item.quantity > 1 ||
|
|
|
|
(canEdit && this.minimum(item.productId as string, item.isHappyHour) >= 1)
|
|
|
|
) {
|
2020-12-16 17:04:41 +00:00
|
|
|
old.quantity -= 1;
|
2019-07-11 06:47:41 +00:00
|
|
|
} else if (item.quantity === 0) {
|
2020-12-16 17:04:41 +00:00
|
|
|
newKot.inventories.splice(newKot.inventories.indexOf(old), 1);
|
2019-07-11 06:47:41 +00:00
|
|
|
}
|
2020-12-16 17:04:41 +00:00
|
|
|
this.displayBill();
|
2019-07-11 06:47:41 +00:00
|
|
|
}
|
|
|
|
|
2020-11-25 03:57:42 +00:00
|
|
|
removeItem(item: BillViewItem): void {
|
2020-12-16 17:04:41 +00:00
|
|
|
const newKot = this.bill.kots.find((k) => k.id === undefined) as Kot;
|
|
|
|
const old = newKot.inventories.find(
|
|
|
|
(x) => x.product.id === item.productId && x.isHappyHour === item.isHappyHour,
|
|
|
|
) as Inventory;
|
|
|
|
newKot.inventories.splice(newKot.inventories.indexOf(old), 1);
|
|
|
|
this.displayBill();
|
2019-07-11 06:47:41 +00:00
|
|
|
}
|
|
|
|
|
2020-11-25 03:57:42 +00:00
|
|
|
modifier(item: BillViewItem): void {
|
2020-12-16 17:04:41 +00:00
|
|
|
const newKot = this.bill.kots.find((k) => k.id === undefined) as Kot;
|
|
|
|
const old = newKot.inventories.find(
|
|
|
|
(x) => x.product.id === item.productId && x.isHappyHour === item.isHappyHour,
|
|
|
|
) as Inventory;
|
|
|
|
this.showModifier(old);
|
2019-07-11 06:47:41 +00:00
|
|
|
}
|
|
|
|
|
2020-10-11 05:26:29 +00:00
|
|
|
discount(discounts: { id: string; name: string; discount: number }[]): void {
|
2020-12-16 17:04:41 +00:00
|
|
|
for (const kot of this.bill.kots) {
|
|
|
|
const noDiscount = kot.inventories
|
|
|
|
.filter((x) => x.isHappyHour)
|
|
|
|
.map((x) => x.product.id as string);
|
|
|
|
for (const inventory of kot.inventories) {
|
|
|
|
const e = discounts.find(
|
|
|
|
(d) => d.id === (inventory.product.saleCategory as SaleCategory).id,
|
|
|
|
);
|
|
|
|
if (e === undefined || noDiscount.indexOf(inventory.product.id as string) !== -1) {
|
|
|
|
continue;
|
2020-12-16 06:19:22 +00:00
|
|
|
}
|
2020-12-16 17:04:41 +00:00
|
|
|
inventory.discount = e.discount;
|
2019-08-08 08:01:30 +00:00
|
|
|
}
|
2020-12-16 17:04:41 +00:00
|
|
|
}
|
|
|
|
this.displayBill();
|
2019-08-08 08:01:30 +00:00
|
|
|
}
|
|
|
|
|
2020-11-22 04:43:37 +00:00
|
|
|
printKot(guestBookId: string | null): Observable<boolean> {
|
2019-08-10 20:07:14 +00:00
|
|
|
const item = JSON.parse(JSON.stringify(this.bill));
|
2020-12-16 17:04:41 +00:00
|
|
|
const newKot = this.bill.kots.find((k) => k.id === undefined) as Kot;
|
2019-08-20 17:32:17 +00:00
|
|
|
if (newKot.inventories.length === 0) {
|
2020-12-16 17:04:41 +00:00
|
|
|
return throwError('Cannot print a blank KOT\nPlease add some products!');
|
|
|
|
}
|
|
|
|
if (!this.happyHourItemsBalanced()) {
|
|
|
|
return throwError('Happy hour products are not balanced.');
|
2019-08-08 08:01:30 +00:00
|
|
|
}
|
2020-11-22 04:43:37 +00:00
|
|
|
return this.ser.saveOrUpdate(item, VoucherType.Kot, guestBookId, true);
|
2019-07-13 16:02:18 +00:00
|
|
|
}
|
|
|
|
|
2020-11-22 04:43:37 +00:00
|
|
|
printBill(guest_book_id: string | null, voucherType: VoucherType): Observable<boolean> {
|
2019-08-10 20:07:14 +00:00
|
|
|
const item = JSON.parse(JSON.stringify(this.bill));
|
2020-12-16 17:04:41 +00:00
|
|
|
const newKot = this.bill.kots.find((k) => k.id === undefined) as Kot;
|
|
|
|
if (item.kots.length === 1 && newKot.inventories.length === 0) {
|
|
|
|
return throwError('Cannot print a blank Bill\nPlease add some products!');
|
|
|
|
}
|
|
|
|
if (!this.happyHourItemsBalanced()) {
|
|
|
|
return throwError('Happy hour products are not balanced.');
|
|
|
|
}
|
2020-11-22 04:43:37 +00:00
|
|
|
return this.ser.saveOrUpdate(item, voucherType, guest_book_id, true);
|
2019-07-13 16:02:18 +00:00
|
|
|
}
|
|
|
|
|
2019-08-09 09:25:38 +00:00
|
|
|
type() {
|
|
|
|
return this.bill.voucherType;
|
|
|
|
}
|
|
|
|
|
2020-12-13 04:14:32 +00:00
|
|
|
receivePayment(value: { choices: ReceivePaymentItem[]; reason: string }): Observable<boolean> {
|
|
|
|
return this.ser.receivePayment(this.bill.id as string, value.choices, value.reason, true);
|
2019-08-09 09:25:38 +00:00
|
|
|
}
|
2019-08-10 08:51:40 +00:00
|
|
|
|
|
|
|
moveTable(table: Table): Observable<boolean> {
|
2020-11-22 04:43:37 +00:00
|
|
|
return this.ser.moveTable(this.bill.id as string, table);
|
2019-08-10 08:51:40 +00:00
|
|
|
}
|
2019-08-10 13:19:05 +00:00
|
|
|
|
2019-08-17 19:35:59 +00:00
|
|
|
mergeTable(table: Table): Observable<boolean> {
|
2020-11-22 04:43:37 +00:00
|
|
|
return this.ser.mergeTable(this.bill.id as string, table);
|
2019-08-17 19:35:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
moveKot(kotId: string, table: Table): Observable<boolean> {
|
2020-11-22 04:43:37 +00:00
|
|
|
return this.ser.moveKotToNewTable(this.bill.id as string, kotId, table);
|
2019-08-17 19:35:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
mergeKot(kotId: string, table: Table): Observable<boolean> {
|
2020-11-22 04:43:37 +00:00
|
|
|
return this.ser.mergeKotWithOldBill(this.bill.id as string, kotId, table);
|
2019-08-10 13:19:05 +00:00
|
|
|
}
|
2019-08-10 05:00:27 +00:00
|
|
|
|
2019-08-10 20:07:14 +00:00
|
|
|
voidBill(reason: string): Observable<boolean> {
|
2020-11-22 04:43:37 +00:00
|
|
|
return this.ser.voidBill(this.bill.id as string, reason, true);
|
2019-08-10 05:00:27 +00:00
|
|
|
}
|
|
|
|
|
2019-08-10 20:07:14 +00:00
|
|
|
updateAmounts() {
|
|
|
|
this.netAmount.next(
|
2020-12-16 06:19:22 +00:00
|
|
|
round(
|
2020-12-16 17:04:41 +00:00
|
|
|
this.bill.kots.reduce(
|
|
|
|
(t, k) =>
|
|
|
|
k.inventories.reduce((a, c) => a + (c.isHappyHour ? 0 : c.price) * c.quantity, 0) + t,
|
|
|
|
0,
|
|
|
|
),
|
2020-10-11 05:26:29 +00:00
|
|
|
),
|
2019-08-10 20:07:14 +00:00
|
|
|
);
|
|
|
|
this.discountAmount.next(
|
2020-12-16 06:19:22 +00:00
|
|
|
round(
|
2020-12-16 17:04:41 +00:00
|
|
|
this.bill.kots.reduce(
|
|
|
|
(t, k) =>
|
|
|
|
k.inventories.reduce(
|
|
|
|
(a, c) => a + (c.isHappyHour ? 0 : c.price) * c.quantity * c.discount,
|
|
|
|
0,
|
|
|
|
) + t,
|
|
|
|
0,
|
|
|
|
),
|
2020-10-11 05:26:29 +00:00
|
|
|
),
|
2019-08-10 20:07:14 +00:00
|
|
|
);
|
|
|
|
this.taxAmount.next(
|
2020-12-16 06:19:22 +00:00
|
|
|
round(
|
2020-12-16 17:04:41 +00:00
|
|
|
this.bill.kots.reduce(
|
|
|
|
(t, k) =>
|
|
|
|
k.inventories.reduce(
|
|
|
|
(a, c) =>
|
|
|
|
a + (c.isHappyHour ? 0 : c.price) * c.quantity * (1 - c.discount) * c.taxRate,
|
|
|
|
0,
|
|
|
|
) + t,
|
|
|
|
0,
|
|
|
|
),
|
2020-10-11 05:26:29 +00:00
|
|
|
),
|
2019-08-10 20:07:14 +00:00
|
|
|
);
|
|
|
|
this.amount.next(
|
2020-12-16 06:19:22 +00:00
|
|
|
round(
|
2020-12-16 17:04:41 +00:00
|
|
|
this.bill.kots.reduce(
|
|
|
|
(t, k) =>
|
|
|
|
k.inventories.reduce(
|
|
|
|
(a, c) =>
|
|
|
|
a + (c.isHappyHour ? 0 : c.price) * c.quantity * (1 - c.discount) * (1 + c.taxRate),
|
|
|
|
0,
|
|
|
|
) + t,
|
|
|
|
0,
|
|
|
|
),
|
2020-10-11 05:26:29 +00:00
|
|
|
),
|
|
|
|
);
|
2019-08-10 05:00:27 +00:00
|
|
|
}
|
2019-08-17 19:35:59 +00:00
|
|
|
|
|
|
|
splitBill(table: Table): Observable<boolean> {
|
2020-11-25 03:57:42 +00:00
|
|
|
const inventoriesToMove: string[] = this.selection.selected.map(
|
2020-12-16 17:04:41 +00:00
|
|
|
(x: string) => (JSON.parse(x) as BillSelectionItem).inventoryId as string,
|
2020-11-25 03:57:42 +00:00
|
|
|
);
|
2020-11-22 04:43:37 +00:00
|
|
|
return this.ser.splitBill(this.bill.id as string, inventoriesToMove, table);
|
2019-08-17 19:35:59 +00:00
|
|
|
}
|
2020-12-08 13:20:46 +00:00
|
|
|
|
2020-12-16 17:04:41 +00:00
|
|
|
private happyHourItemsBalanced(): boolean {
|
|
|
|
const newKot = this.bill.kots.find((k) => k.id === undefined) as Kot;
|
|
|
|
const happyHourItems = newKot.inventories
|
|
|
|
.filter((x) => x.isHappyHour)
|
|
|
|
.map((x) => ({ id: x.product.id as string, quantity: x.quantity }));
|
|
|
|
for (const item of happyHourItems) {
|
|
|
|
const q = newKot.inventories.find(
|
|
|
|
(x) => !x.isHappyHour && x.product.id === item.id && x.quantity === item.quantity,
|
|
|
|
);
|
|
|
|
if (q === undefined) {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return true;
|
2020-12-08 13:20:46 +00:00
|
|
|
}
|
2019-07-11 06:47:41 +00:00
|
|
|
}
|