Python docker

This commit is contained in:
Juan Pablo Vial
2022-03-10 15:11:26 -03:00
parent f29bc8f05f
commit 1c5467e8fb
6 changed files with 31 additions and 921 deletions

View File

@ -461,7 +461,7 @@ class Informes
['name' => 'Valor Neto', 'style' => 'amount'],
['name' => 'UF/m²*', 'style' => 'amount'],
['name' => 'Comision', 'style' => 'amount'],
['name' => 'Venta s/Comision', 'style' => 'amount'].
['name' => 'Venta s/Comision', 'style' => 'amount'],
['name' => 'Precio', 'style' => 'Amount']
];
//$informe->addColumns($columnas);
@ -538,7 +538,7 @@ class Informes
"Compañía" => $proyecto->inmobiliaria()->abreviacion,
"data" => $data
];
$client = new Client(['base_uri' => 'localhost:8011']);
$client = new Client(['base_uri' => "{$_ENV['PYTHON_HOST']}"]);
$response = $client->post('/ventas', ['json' => $body]);
header("Content-Type: application/octet-stream; charset=utf-8");