This commit is contained in:
Juan Pablo Vial
2022-06-09 16:40:10 -04:00
parent 717ba19792
commit d6f58893b6

View File

@ -237,7 +237,7 @@ class Ventas
} }
$venta->fecha = $f->format('Y-m-d'); $venta->fecha = $f->format('Y-m-d');
$venta->valor_uf = str_replace(',', '', post('valor')); $venta->valor_uf = str_replace(',', '.', post('valor'));
$venta->fecha_ingreso = $t->format('Y-m-d'); $venta->fecha_ingreso = $t->format('Y-m-d');
if (post('operador') != 0) { if (post('operador') != 0) {
$venta->agente = post('operador'); $venta->agente = post('operador');