@stssocialst-stp/fe-payroll 0.3.4 → 0.3.5
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 +2 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -932,10 +932,8 @@ function makePaymentForPayroll(payroll, clientMutationLabel) {
|
|
|
932
932
|
return PERFORM_MUTATION(MUTATION_SERVICE.PAYROLL.MAKE_PAYMENT, payrollUuids, ACTION_TYPE.MAKE_PAYMENT_PAYROLL, clientMutationLabel);
|
|
933
933
|
}
|
|
934
934
|
function fetchBistpSummary(payrollId) {
|
|
935
|
-
var query = "\n
|
|
936
|
-
return feCore.graphql(query, ACTION_TYPE.GET_BISTP_SUMMARY
|
|
937
|
-
payrollId: payrollId
|
|
938
|
-
});
|
|
935
|
+
var query = "\n {\n total: benefitConsumptionByPayroll(payrollUuid: \"".concat(payrollId, "\", first: 0) { totalCount }\n pendentes: benefitConsumptionByPayroll(payrollUuid: \"").concat(payrollId, "\", status: ACCEPTED, first: 0) { totalCount }\n enviados: benefitConsumptionByPayroll(payrollUuid: \"").concat(payrollId, "\", status: APPROVE_FOR_PAYMENT, first: 0) { totalCount }\n confirmados: benefitConsumptionByPayroll(payrollUuid: \"").concat(payrollId, "\", status: RECONCILED, first: 0) { totalCount }\n rejeitados: benefitConsumptionByPayroll(payrollUuid: \"").concat(payrollId, "\", status: REJECTED, first: 0) { totalCount }\n }\n ");
|
|
936
|
+
return feCore.graphql(query, ACTION_TYPE.GET_BISTP_SUMMARY);
|
|
939
937
|
}
|
|
940
938
|
|
|
941
939
|
var pageTitle = function pageTitle(item) {
|