Filippo Bertilotti
2024-07-31 7e64cc10b90638803aa7e6b1b78c76825a8da866
app/Models/Products.php
@@ -15,15 +15,15 @@
     */
    protected $fillable = [
        'LinkedMSISDN',
        'tmCode',
        'TmCode',
        'OMProductId',
        'name',
        'description',
        'Name',
        'Description',
    ];
    public function msisdn()
    {
        return $this->belongsTo('App\Models\Msisdn', 'LinkedMSISDN', 'id');
        return $this->belongsToMany(Msisdn::class, 'pivot_msisdn_products', 'idProducts', 'idMsisdn');
    }
}