@bookmypuja-tech/bmp-pdf 0.3.4 → 0.3.6
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.
- package/dist/index.d.ts +5 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -217,6 +217,9 @@ interface IInvoiceData {
|
|
|
217
217
|
subTotal: string;
|
|
218
218
|
paymentMethod: string;
|
|
219
219
|
}
|
|
220
|
+
interface IInvoiceProps {
|
|
221
|
+
data: IInvoiceData;
|
|
222
|
+
}
|
|
220
223
|
|
|
221
224
|
type sizeOptions = "A4" | "2Inch";
|
|
222
225
|
declare const getPrintBlob: ({ size, data, dates, }: {
|
|
@@ -241,7 +244,7 @@ type ReportDataTypes = {
|
|
|
241
244
|
"combined-report": CombinedReportData;
|
|
242
245
|
"multi-temple-payment": IMultiTemplePaymentReport;
|
|
243
246
|
"settlements-report": ISettlementsReport;
|
|
244
|
-
"invoice":
|
|
247
|
+
"invoice": IInvoiceProps;
|
|
245
248
|
};
|
|
246
249
|
declare class reportPrinter<T extends IReportOptions> {
|
|
247
250
|
option: T;
|
|
@@ -251,4 +254,4 @@ declare class reportPrinter<T extends IReportOptions> {
|
|
|
251
254
|
getBlob(data: ReportDataTypes[T]): Promise<Blob>;
|
|
252
255
|
}
|
|
253
256
|
|
|
254
|
-
export { A4Print, type IInvoiceData, type KitchenReportProps as IKitchenReport, type IMultiTemplePaymentReport, type IPrasadDelivery, type IPrasadReport, type IPrintablePuja, type IPujaReceipt, type IPujaList as IPujaReport, type ISettlementRow, type ISettlementsReport, type ISummaryPujaList as ISummaryPujaReport, type ITransactionReport, T2Inch, getA4SummaryBlob, getPrintBlob, printDevoteeReceipt2Inch, printQuickPrintReceipt2Inch, printTotalReceipt2Inch, printePujaReport2Inch, reportPrinter };
|
|
257
|
+
export { A4Print, type IInvoiceData, type IInvoiceProps, type KitchenReportProps as IKitchenReport, type IMultiTemplePaymentReport, type IPrasadDelivery, type IPrasadReport, type IPrintablePuja, type IPujaReceipt, type IPujaList as IPujaReport, type ISettlementRow, type ISettlementsReport, type ISummaryPujaList as ISummaryPujaReport, type ITransactionReport, T2Inch, getA4SummaryBlob, getPrintBlob, printDevoteeReceipt2Inch, printQuickPrintReceipt2Inch, printTotalReceipt2Inch, printePujaReport2Inch, reportPrinter };
|
package/package.json
CHANGED