FIX: Edit Pago sin "valor"
This commit is contained in:
@ -68,12 +68,12 @@ class Credito extends Ideal\Service
|
||||
$data['valor'] = $this->valorService->clean($data['valor']);
|
||||
$valorPago = round($data['valor'] * $uf);
|
||||
}
|
||||
$filteredData = array_intersect_key($data, array_fill_keys([
|
||||
$filteredData = array_intersect_key($data, array_flip([
|
||||
'fecha',
|
||||
'uf',
|
||||
'valor',
|
||||
'banco'
|
||||
], 0));
|
||||
]));
|
||||
$filteredDataPago = $filteredData;
|
||||
if (isset($valorPago)) {
|
||||
$filteredDataPago['valor'] = $valorPago;
|
||||
|
Reference in New Issue
Block a user