Log agregar Venta

This commit is contained in:
Juan Pablo Vial
2022-06-09 16:19:05 -04:00
parent eac6b7d197
commit 9ffc7527c3

View File

@ -120,9 +120,11 @@ class Ventas
} }
public static function agregar() public static function agregar()
{ {
error_log(var_export(post(), true));
$f = Carbon::createFromDate(post('year'), post('month'), post('day'), config('app.timezone')); $f = Carbon::createFromDate(post('year'), post('month'), post('day'), config('app.timezone'));
$t = Carbon::today(config('app.timezone')); $t = Carbon::today(config('app.timezone'));
$uf = uf($f); $uf = uf($f);
error_log(var_export($uf, true));
$calle = trim(post('calle')); $calle = trim(post('calle'));
$numero = post('numero'); $numero = post('numero');