Creada vista para listar los cuadres de tarro #90 #91
| @@ -23,6 +23,10 @@ class Api { | ||||
|     return this.apiImplementation.getPurchasesForReconciliation(); | ||||
|   } | ||||
|  | ||||
|   getListReconcliations(page=1, itemsPerPage=10) { | ||||
|     return this.apiImplementation.getListReconcliations(page, itemsPerPage); | ||||
|   } | ||||
|  | ||||
|   isValidAdminCode(code) { | ||||
|     return this.apiImplementation.isValidAdminCode(code); | ||||
|   } | ||||
|   | ||||
| @@ -24,6 +24,11 @@ class DjangoApi { | ||||
|     return this.getRequest(url); | ||||
|   } | ||||
|  | ||||
|   getListReconcliations(page, itemsPerPage) { | ||||
|     const url = `/don_confiao/api/reconciliate_jar/?page=${page}&page_size=${itemsPerPage}`; | ||||
|     return this.getRequest(url); | ||||
|   } | ||||
|  | ||||
|   isValidAdminCode(code) { | ||||
|     const url = `/don_confiao/api/admin_code/validate/${code}` | ||||
|     return this.getRequest(url) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user