Mcuhos cambios .w.

This commit is contained in:
2021-07-20 15:27:55 -04:00
parent 02871ab73b
commit 1d6082a590
35 changed files with 85 additions and 155 deletions

View File

@@ -11,7 +11,7 @@ class Compra extends Model {
use UuidPrimaryKey, SoftDeletes;
protected $table = 'compras';
protected $hidden = ['created_at', 'updated_at', 'deleted_at'];
protected $hidden = ['created_at', 'updated_at', 'deleted_at', 'pivot'];
protected $fillable = [
'id', 'fecha_compra', 'proveedor_id', 'en_arqueo', 'restaurante_id'
];