iptdevs-design-system 3.1.745 → 3.1.746

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