#5 feat(API): getCSVForTryton

This commit is contained in:
2025-03-03 22:06:49 -05:00
parent 4e88477323
commit db8ec154ae
2 changed files with 9 additions and 0 deletions

View File

@@ -58,6 +58,11 @@ class DjangoApi {
return this.postRequest(url, customer);
}
getCSVForTryton() {
const url = this.base + '/don_confiao/api/sales/for_tryton';
return this.getRequest(url);
}
getRequest(url) {
return new Promise ((resolve, reject) => {
fetch(url)