iptdevs-design-system 3.1.744 → 3.1.745

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.
@@ -6153,22 +6153,22 @@ class BudgetService extends IPTGeneralService {
6153
6153
  // TRANSFERS CRUD
6154
6154
  // Obtener todas las transferencias
6155
6155
  getAllTransfers() {
6156
- const serviceUrl = this.SERVICE_URL + 'transfers';
6156
+ const serviceUrl = this.SERVICE_URL + 'get/transfers';
6157
6157
  return this.http.get(serviceUrl);
6158
6158
  }
6159
6159
  // Obtener una transferencia por código
6160
6160
  getTransferByCode(code) {
6161
- const serviceUrl = `${this.SERVICE_URL}transfers/${code}`;
6161
+ const serviceUrl = `${this.SERVICE_URL}get/transfers/specific/${code}`;
6162
6162
  return this.http.get(serviceUrl);
6163
6163
  }
6164
6164
  // Crear una nueva transferencia
6165
6165
  createTransfer(transfer) {
6166
- const serviceUrl = this.SERVICE_URL + 'transfers';
6166
+ const serviceUrl = this.SERVICE_URL + 'post/transfers/create';
6167
6167
  return this.http.post(serviceUrl, transfer);
6168
6168
  }
6169
6169
  // Actualizar una transferencia existente
6170
6170
  updateTransfer(code, transfer) {
6171
- const serviceUrl = `${this.SERVICE_URL}transfers/${code}`;
6171
+ const serviceUrl = `${this.SERVICE_URL}put/transfers/${code}`;
6172
6172
  return this.http.put(serviceUrl, transfer);
6173
6173
  }
6174
6174
  // Eliminar una transferencia