Jump to content

Add new field to Supply Order


coolpapes

Recommended Posts

I'm trying to add a new "Clerk" field to the Supply Orders so I can record the name of the person that I place my orders with.  I managed to create an input field by adding the following code to AdminSupplyOrdersController on line 218:

array(
	'type' => 'text',
	'label' => $this->l('Clerk:'),
	'name' => 'clerk',
	'size' => 12,
	'required' => true,
	'desc' => $this->l('Enter name of sales person for phone order or \"internet\" for web order'),
),

I also added a "clerk" column to the supply_order table.

 

How do I get that information into that table?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...