This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

virgo9793756674
virgo9793756674

I am trying to insert data from one model to another from a pivot table.

For normal data use $ Order = new Order; $ Order-> id_quotation = $ this-> id; $ Order-> client = $ this-> client; $ Order-> owner = $ this-> owner; $ Order-> credit = $ this-> credit; $ Order-> comments = $ this-> comments;

        $ Order-> save ();

But for the pivot table I have not been able to send the data

mjauvin
mjauvin
$order->pivot->pivot_field = value;

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.