@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.es.js
CHANGED
|
@@ -888,10 +888,8 @@ function makePaymentForPayroll(payroll, clientMutationLabel) {
|
|
|
888
888
|
return PERFORM_MUTATION(MUTATION_SERVICE.PAYROLL.MAKE_PAYMENT, payrollUuids, ACTION_TYPE.MAKE_PAYMENT_PAYROLL, clientMutationLabel);
|
|
889
889
|
}
|
|
890
890
|
function fetchBistpSummary(payrollId) {
|
|
891
|
-
var query = "\n
|
|
892
|
-
return graphql(query, ACTION_TYPE.GET_BISTP_SUMMARY
|
|
893
|
-
payrollId: payrollId
|
|
894
|
-
});
|
|
891
|
+
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 ");
|
|
892
|
+
return graphql(query, ACTION_TYPE.GET_BISTP_SUMMARY);
|
|
895
893
|
}
|
|
896
894
|
|
|
897
895
|
var pageTitle = function pageTitle(item) {
|