Borrado método no usado
This commit is contained in:
parent
f0f05f8361
commit
48e1a04bae
|
@ -16,7 +16,7 @@ class Producto extends Model
|
||||||
{
|
{
|
||||||
return $this->belongsToMany('App\Subpedido','productos_subpedidos')->withPivot(["cantidad"]);
|
return $this->belongsToMany('App\Subpedido','productos_subpedidos')->withPivot(["cantidad"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function proveedor()
|
public function proveedor()
|
||||||
{
|
{
|
||||||
return $this->belongsTo('App\Proveedor');
|
return $this->belongsTo('App\Proveedor');
|
||||||
|
@ -33,10 +33,6 @@ class Producto extends Model
|
||||||
return $request->has('paginar') && intval($request->input('paginar')) ? intval($request->input('paginar')) : self::$paginarPorDefecto;
|
return $request->has('paginar') && intval($request->input('paginar')) ? intval($request->input('paginar')) : self::$paginarPorDefecto;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function productosIDFila() {
|
|
||||||
return Producto::pluck('fila', 'id',)->all();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static function productosFilaID() {
|
public static function productosFilaID() {
|
||||||
return Producto::pluck('id', 'fila',)->all();
|
return Producto::pluck('id', 'fila',)->all();
|
||||||
}
|
}
|
||||||
|
@ -44,5 +40,5 @@ class Producto extends Model
|
||||||
public static function productosIDNombre() {
|
public static function productosIDNombre() {
|
||||||
return Producto::pluck('nombre', 'id',)->all();
|
return Producto::pluck('nombre', 'id',)->all();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue