pearl_1234 Posted January 12, 2015 Share Posted January 12, 2015 Hi to all, I have created custom module which creating active Records from only one table.But one of the field in my table is "Status" which can have "0 or 1 or 2" value.I have creaded active Record but i want to show some thing else instead of showing 0 or ,1 or 2 like instead of 0 should be Error, 1, Success ,2 Shipped etc. When i am using fields list like this it show the values from table fine but i want to change it in my code that if 0 in the record it should show Error and so on $this->fields_list = array( 'fullfillment_id' => array('title' => $this->l('ID'), 'align' => 'center', 'width' => 25,'orderby' => true), 'Status' => array('title' => $this->l('Status'),'filter_key' => 'status', 'align' => 'center'), Secondly how i can disable Add new link from the active record so that no option to add new record Any help thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now