funcion/refactor-general #45

Open
atasistro wants to merge 111 commits from funcion/refactor-general into master
2 changed files with 1 additions and 4 deletions
Showing only changes of commit 2faea3b007 - Show all commits

View file

@ -14,10 +14,8 @@ use Illuminate\Support\Facades\Log;
class GrupoDeCompra extends Model
{
public $timestamps = false;
protected $fillable = ["nombre", "region", "telefono", "correo", "referente_finanzas", "cantidad_de_nucleos", "fila", "devoluciones_habilitadas"];
protected $fillable = ["nombre", "region", "devoluciones_habilitadas"];
protected $table = 'grupos_de_compra';
protected $hidden = ['password'];
public function subpedidos(): HasMany
{

View file

@ -12,7 +12,6 @@ use App\Filtros\FiltroDeSubpedido;
class Subpedido extends Model
{
public $timestamps = false;
protected $fillable = ['grupo_de_compra_id', 'aprobado', 'nombre', 'devoluciones_total', 'devoluciones_notas'];
public function productos(): BelongsToMany