mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
añadido calculo de formas rot y merma automatica para rot
This commit is contained in:
@ -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);
|
||||
|
||||
@ -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>';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user