@stssocialst-stp/fe-payroll 0.2.3 → 0.2.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.
package/dist/index.es.js CHANGED
@@ -3049,6 +3049,16 @@ function PaymentApproveForPaymentDialog(_ref) {
3049
3049
  marginBottom: '15px'
3050
3050
  }
3051
3051
  }, formatMessage('payroll.summary.approveAndClose')), /*#__PURE__*/React.createElement(Button, {
3052
+ onClick: function onClick() {
3053
+ return makePaymentForPayrollCallback();
3054
+ },
3055
+ variant: "contained",
3056
+ color: "primary",
3057
+ style: {
3058
+ margin: '0 16px',
3059
+ marginBottom: '15px'
3060
+ }
3061
+ }, payrollDetail.paymentMethod === PAYMENT_METHOD.STRATEGY_BISTP_PAYMENT ? formatMessage('payroll.bistp.submitPayment') : formatMessage('payroll.summary.makePayment')), /*#__PURE__*/React.createElement(Button, {
3052
3062
  onClick: function onClick() {
3053
3063
  return downloadPayrollData(payrollDetail.id, payrollDetail.name);
3054
3064
  },
@@ -3073,16 +3083,7 @@ function PaymentApproveForPaymentDialog(_ref) {
3073
3083
  "float": 'right',
3074
3084
  paddingRight: '16px'
3075
3085
  }
3076
- }, (payrollDetail.paymentMethod === PAYMENT_METHOD.STRATEGY_ONLINE_PAYMENT || payrollDetail.paymentMethod === PAYMENT_METHOD.STRATEGY_BISTP_PAYMENT) && /*#__PURE__*/React.createElement(Button, {
3077
- onClick: function onClick() {
3078
- return makePaymentForPayrollCallback();
3079
- },
3080
- variant: "contained",
3081
- color: "primary",
3082
- style: {
3083
- margin: '0 16px'
3084
- }
3085
- }, payrollDetail.paymentMethod === PAYMENT_METHOD.STRATEGY_BISTP_PAYMENT ? formatMessage('payroll.bistp.submitPayment') : formatMessage('payroll.summary.makePayment')), /*#__PURE__*/React.createElement(Button, {
3086
+ }, /*#__PURE__*/React.createElement(Button, {
3086
3087
  onClick: handleClose,
3087
3088
  variant: "outlined",
3088
3089
  autoFocus: true,