This commit is contained in:
Juan Felipe Duarte
2025-07-31 15:19:22 -07:00
parent ca5fbd454a
commit c7586cf6cd
13 changed files with 215 additions and 34 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ use Illuminate\Database\Eloquent\Model;
class Historiale extends Model
{
use HasFactory;
protected $fillable = [
'fecha_inicio',
'fecha_final',
@@ -24,7 +25,7 @@ class Historiale extends Model
public function vendedor()
{
return $this->belongsTo(User::class , 'vendedor_id');
return $this->belongsTo(User::class, 'vendedor_id');
}
public function tarifa()