Просмотр исходного кода

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

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
ebagabee 1 месяц назад
Родитель
Сommit
6b812bc44f
1 измененных файлов с 5 добавлено и 0 удалено
  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;
+};