@bookmypuja-tech/bmp-pdf 0.3.5 → 0.3.7

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 CHANGED
@@ -179,8 +179,8 @@ interface ISettlementRow {
179
179
  number: string;
180
180
  amount: string;
181
181
  }[];
182
- transaction_id: string;
183
- remarks: string;
182
+ settlement_id: string;
183
+ date: string;
184
184
  }
185
185
  interface ISettlementsReport {
186
186
  startDate: Date;
@@ -244,7 +244,7 @@ type ReportDataTypes = {
244
244
  "combined-report": CombinedReportData;
245
245
  "multi-temple-payment": IMultiTemplePaymentReport;
246
246
  "settlements-report": ISettlementsReport;
247
- "invoice": IInvoiceData;
247
+ "invoice": IInvoiceProps;
248
248
  };
249
249
  declare class reportPrinter<T extends IReportOptions> {
250
250
  option: T;
package/dist/index.js CHANGED
@@ -2890,7 +2890,7 @@ var A4SettlementsReport = ({
2890
2890
  width: "15%"
2891
2891
  }
2892
2892
  },
2893
- /* @__PURE__ */ React16.createElement(Text_default, null, "Settlement")
2893
+ /* @__PURE__ */ React16.createElement(Text_default, null, "Date")
2894
2894
  ),
2895
2895
  /* @__PURE__ */ React16.createElement(
2896
2896
  View11,
@@ -2898,10 +2898,10 @@ var A4SettlementsReport = ({
2898
2898
  style: {
2899
2899
  padding: 6,
2900
2900
  borderRight: "1px solid #000",
2901
- width: "20%"
2901
+ width: "15%"
2902
2902
  }
2903
2903
  },
2904
- /* @__PURE__ */ React16.createElement(Text_default, null, "UTR")
2904
+ /* @__PURE__ */ React16.createElement(Text_default, null, "Settlement")
2905
2905
  ),
2906
2906
  /* @__PURE__ */ React16.createElement(
2907
2907
  View11,
@@ -2909,10 +2909,10 @@ var A4SettlementsReport = ({
2909
2909
  style: {
2910
2910
  padding: 6,
2911
2911
  borderRight: "1px solid #000",
2912
- width: "25%"
2912
+ width: "20%"
2913
2913
  }
2914
2914
  },
2915
- /* @__PURE__ */ React16.createElement(Text_default, null, "Invoice")
2915
+ /* @__PURE__ */ React16.createElement(Text_default, null, "UTR")
2916
2916
  ),
2917
2917
  /* @__PURE__ */ React16.createElement(
2918
2918
  View11,
@@ -2920,10 +2920,10 @@ var A4SettlementsReport = ({
2920
2920
  style: {
2921
2921
  padding: 6,
2922
2922
  borderRight: "1px solid #000",
2923
- width: "20%"
2923
+ width: "25%"
2924
2924
  }
2925
2925
  },
2926
- /* @__PURE__ */ React16.createElement(Text_default, null, "Transaction ID")
2926
+ /* @__PURE__ */ React16.createElement(Text_default, null, "Invoice")
2927
2927
  ),
2928
2928
  /* @__PURE__ */ React16.createElement(
2929
2929
  View11,
@@ -2931,10 +2931,10 @@ var A4SettlementsReport = ({
2931
2931
  style: {
2932
2932
  padding: 6,
2933
2933
  // borderRight: "1px solid #000",
2934
- width: "15%"
2934
+ width: "20%"
2935
2935
  }
2936
2936
  },
2937
- /* @__PURE__ */ React16.createElement(Text_default, null, "Remarks")
2937
+ /* @__PURE__ */ React16.createElement(Text_default, null, "Settlement ID")
2938
2938
  )
2939
2939
  ),
2940
2940
  settlements?.map((item, index) => {
@@ -2960,6 +2960,18 @@ var A4SettlementsReport = ({
2960
2960
  },
2961
2961
  /* @__PURE__ */ React16.createElement(Text_default, null, index + 1)
2962
2962
  ),
2963
+ /* @__PURE__ */ React16.createElement(
2964
+ View11,
2965
+ {
2966
+ style: {
2967
+ padding: 6,
2968
+ width: "15%",
2969
+ // fontSize: 7,
2970
+ borderRight: "1px solid #000"
2971
+ }
2972
+ },
2973
+ /* @__PURE__ */ React16.createElement(Text_default, null, item.date)
2974
+ ),
2963
2975
  /* @__PURE__ */ React16.createElement(
2964
2976
  View11,
2965
2977
  {
@@ -3009,13 +3021,12 @@ var A4SettlementsReport = ({
3009
3021
  {
3010
3022
  style: {
3011
3023
  padding: 6,
3012
- borderRight: "1px solid #000",
3024
+ // borderRight: "1px solid #000",
3013
3025
  width: "20%"
3014
3026
  }
3015
3027
  },
3016
- /* @__PURE__ */ React16.createElement(Text_default, null, item.transaction_id)
3017
- ),
3018
- /* @__PURE__ */ React16.createElement(View11, { style: { padding: 6, width: "15%", fontSize: 7 } }, /* @__PURE__ */ React16.createElement(Text_default, null, item.remarks))
3028
+ /* @__PURE__ */ React16.createElement(Text_default, null, item.settlement_id)
3029
+ )
3019
3030
  );
3020
3031
  })
3021
3032
  )
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bookmypuja-tech/bmp-pdf",
3
3
  "description": "PDF Report Generation for Temple360 and T-360 by BookMyPuja",
4
- "version": "0.3.5",
4
+ "version": "0.3.7",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",