Procházet zdrojové kódy

feat(financial): endpoint de gerar cobrança no cliente de contas a receber

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
ebagabee před 1 měsícem
rodič
revize
6b812bc44f
1 změnil soubory, kde provedl 5 přidání a 0 odebrání
  1. 5 0
      src/api/unit_receivable.js

+ 5 - 0
src/api/unit_receivable.js

@@ -14,3 +14,8 @@ export const reopenReceivableMe = async (id) => {
   const { data } = await api.post(`/unit-receivable/me/${id}/reopen`);
   return data.payload;
 };
+
+export const chargeReceivableMe = async (id) => {
+  const { data } = await api.post(`/unit-receivable/me/${id}/charge`);
+  return data.payload;
+};