añadido calculo de formas rot y merma automatica para rot

This commit is contained in:
2023-12-28 12:43:23 +01:00
parent 101b6508de
commit 98b416cedc
18 changed files with 521 additions and 17 deletions

View File

@ -9,6 +9,7 @@ use App\Models\Collection;
use App\Entities\Presupuestos\PresupuestoEntity;
use App\Models\Presupuestos\PresupuestoDireccionesModel;
use App\Models\Configuracion\PapelGenericoModel;
use App\Models\Configuracion\TipoPresupuestoModel;
use App\Models\Presupuestos\PresupuestoModel;
use App\Models\Presupuestos\PresupuestoEncuadernacionesModel;
@ -277,6 +278,7 @@ class Cosidotapablanda extends \App\Controllers\GoBaseResourceController
$this->viewData['presupuestoEntity'] = $presupuestoEntity;
$this->viewData['isCosido'] = (new TipoPresupuestoModel())->get_isCosido($presupuestoEntity->tipo_impresion_id);
if(!is_null($presupuestoEntity->comparador_json_data))
$this->viewData['comp_data'] = json_decode($presupuestoEntity->comparador_json_data);

View File

@ -19,7 +19,8 @@ class Test extends BaseController
{
echo '<pre>';
$this->testLineasIntRotativa();
$model = model('App\Models\Configuracion\TipoPresupuestoModel');
var_dump($model->get_isCosido(25));
echo '</pre>';
}