mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
modificaciones en tarifas: añadido margen, cambiado tirada por paginas y añadidas tarifas encuadernacion
This commit is contained in:
@ -14,6 +14,8 @@ class TarifaacabadoModel extends \App\Models\GoBaseModel
|
||||
|
||||
const SORTABLE = [
|
||||
0 => "t1.nombre",
|
||||
1 => "precio_min",
|
||||
2 => "importe_fijo",
|
||||
];
|
||||
|
||||
protected $allowedFields = [
|
||||
@ -77,7 +79,7 @@ class TarifaacabadoModel extends \App\Models\GoBaseModel
|
||||
public function getResource(string $search = "")
|
||||
{
|
||||
$builder = $this->db->table($this->table . " t1")->select(
|
||||
"t1.id AS id, t1.nombre AS nombre"
|
||||
"t1.id AS id, t1.nombre AS nombre, t1.precio_min AS precio_min, t1.importe_fijo AS importe_fijo"
|
||||
);
|
||||
|
||||
//JJO
|
||||
|
||||
Reference in New Issue
Block a user