Jump to content


ari's Content

There have been 3 items by ari (Search limited from 19-January 20)


By content type

See this member's

Sort by                Order  

#10522 Readonly value from set_relation

Posted by ari on 13 January 2014 - 08:08 PM in I have a question

Hi All,

there is no solution for my problem ?




#10421 Adding child data dynamically

Posted by ari on 22 December 2013 - 04:37 AM in I have a question

Any body can do that with standard grocerycrud data example and put into grocerycrud master example ?




#10420 Readonly value from set_relation

Posted by ari on 22 December 2013 - 03:15 AM in I have a question

Hi there,

 
I have tables like :
 

transactiondetail (id,productid,price,qty)
products (productid,productname,minimumprice)

the standard relation formula is :
$crud->set_relation('productid','products','{productname}-{minimumprice}');

but i wanna split the minimumprice into textbox in the form entry as readonly, because i wanna show to the user that the sales price cannot be lower than the minimum price.

So how can i do that ?