I'm customizing Quotes to tie with Accounts (with Billing and Shipping Address), i'm modifying from Advanced OpenSales module.
Code in the view.edit.php:
<input type="button" onclick="open_popup('Accounts', 600, 400, '', true, false, {'call_back_function':'set_return','form_name':'Ed itView','field_to_name_array':{'id':'billing_accou nt_id','name':'billing_account','billing_address_s treet':'billing_address_street'}}, 'single', true);" value="Select" class="button firstChild" accesskey="T" title="Select [Alt+T]" tabindex="2" name="btn_billing_account">
Accounts module has these fields - "id", "name", "billing_address_street" and i've inserted few accounts with cost billing address street.
When i click on the select button and select the account. It only return the "id" and "name" field. billing_address_street and other fields always show empty.
Anyone one can help?
Using 6.1.3 CE


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks