ionic-vhframeworks 10.10.3 → 10.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -17239,6 +17239,7 @@ export declare class VhQuerySales {
|
|
|
17239
17239
|
})
|
|
17240
17240
|
*/
|
|
17241
17241
|
private calculateQuantityProduct_DOWN_9;
|
|
17242
|
+
deepEqualObjects(a: any, b: any): boolean;
|
|
17242
17243
|
/**
|
|
17243
17244
|
* hàm này chỉ dùng cho trường hợp bill đã lưu rồi mà muốn sửa, bill_type trước khi sửa và sau khi sửa phải giống nhau
|
|
17244
17245
|
* Lưu ý: trương bill_type (trong bill), trước và sau khi cập nhật phải cùng giá trị
|
|
@@ -17252,6 +17253,7 @@ export declare class VhQuerySales {
|
|
|
17252
17253
|
* @param bill_details (bill_details phải đủ các field)
|
|
17253
17254
|
* @returns
|
|
17254
17255
|
*/
|
|
17256
|
+
private updateBill_Billdetail_dangvietcode;
|
|
17255
17257
|
updateBill_Billdetail(id_bill: any, bill: any, bill_details: any): any;
|
|
17256
17258
|
/**
|
|
17257
17259
|
* VhQuerySales:
|
|
@@ -17956,6 +17958,7 @@ export declare class VhQuerySales {
|
|
|
17956
17958
|
destroyBillDetails_withPromotions(bill_details: any): any[];
|
|
17957
17959
|
private sumBill_Details;
|
|
17958
17960
|
/**
|
|
17961
|
+
* Chuyển bill_details từ định dạng giao diện bán hàng sang định dạng lưu xuống database
|
|
17959
17962
|
* vhQuerySales
|
|
17960
17963
|
* @param bill_details
|
|
17961
17964
|
* @returns
|
|
@@ -18795,7 +18798,30 @@ export declare class VhQuerySales {
|
|
|
18795
18798
|
* @return Promise Array
|
|
18796
18799
|
* @Notice bill_type = [1,10,15,30,2,3,9,31]
|
|
18797
18800
|
*/
|
|
18798
|
-
|
|
18801
|
+
getReportInputOutputInventory_byEndTime_byIDProduct1(endtime: any, IDsub_or_product: any, IDbranch: string): Promise<any>;
|
|
18802
|
+
/**
|
|
18803
|
+
* Hàm này dùng trong bán hàng cần xem tồn kho đầu tháng, đầu tuần, đầu ngày và cuối ngày của 1 sản phẩm
|
|
18804
|
+
* @example:
|
|
18805
|
+
* this.vhQuerySales.getReportInputOutputInventory_byEndTime_byIDProduct_MonthWeekDay(endtime, IDsub_or_product, IDbranch)
|
|
18806
|
+
.then((bill_details:any)=>{
|
|
18807
|
+
console.log('bill_details', bill_details);
|
|
18808
|
+
})
|
|
18809
|
+
* @param starttime
|
|
18810
|
+
* @param endtime
|
|
18811
|
+
* @param IDsub_or_product : 'all' or id_subproduct or id_product
|
|
18812
|
+
* @param IDbranch : 'all' or id_branch
|
|
18813
|
+
* @return Promise Array
|
|
18814
|
+
* @Notice bill_type = [1,10,15,30,2,3,9,31]
|
|
18815
|
+
* stock_begining_month: Giá trị tồn đầu tháng
|
|
18816
|
+
* outquantity_month: Giá trị xuất nhập trong tháng
|
|
18817
|
+
* stock_begining_week: Giá trị tồn đầu tuần
|
|
18818
|
+
* outquantity_week: Giá trị xuất nhập trong tuần
|
|
18819
|
+
* stock_begining_day: Giá trị tồn đầu ngày
|
|
18820
|
+
* outquantity_day: Giá trị xuất nhập trong ngày
|
|
18821
|
+
* stock_last: Giá trị tồn cuối ngày ngày
|
|
18822
|
+
*/
|
|
18823
|
+
getReportInputOutputInventory_byEndTime_byIDProduct_MonthWeekDay(endtime: any, IDsub_or_product: any, IDbranch: string): Promise<any>;
|
|
18824
|
+
private getStartTimes;
|
|
18799
18825
|
/**
|
|
18800
18826
|
* Hàm này kiểm tra các detailproducts (type=3) nào đã thỏa mãn 60days mà chưa có ký sinh inventory trong sản phẩm thì sẽ gọi hàm
|
|
18801
18827
|
* syncInventoryEveryDay_Stock1stDayOfMonth để tính lại
|