Jump to content

set_relation_n_n with additional field

Relation n_n

  • Please log in to reply
No replies to this topic

#1 Filbert Sugianto Manunggal

Filbert Sugianto Manunggal


  • Members
  • Pip
  • 1 posts

Posted 09 January 2016 - 01:34 PM

I have a difficulty in using grocery_crud in my case. I already have table "order" , "participant" . the two tables have a relation many to many. therefore there's additional table called "order_participant" . 1 order can have many participant , 1 participant can exist in any order.  When I render order table it showing order_participant to select participant to join that order but I want to add field price because in every order_participant there is specific price ? How can I do it ? 

Also tagged with one or more of these keywords: Relation, n_n

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users