[calc] if($CGI->{customer}) { $CGI->{item_id} = $CGI->{customer}; } if(! $CGI->{item_id} and $Session->{arg}) { $CGI->{item_id} = $CGI->{customer} = $Session->{arg}; } $CGI->{customer} = $CGI->{item_id} if ! $CGI->{customer}; return if ! $CGI->{item_id}; if(! $CGI->{mv_data_table}) { $CGI->{ui_hide_key} = 1; $CGI->{mv_data_table} = 'userdb'; } if(! $CGI->{ui_data_fields}) { $CGI->{ui_data_fields} = 'username b_company b_fname b_lname b_address1 b_address2 b_city b_state b_zip b_country email b_phone phone_day phone_night'; $CGI->{ui_display_only} = 'email phone_day phone_night'; } if(! $CGI->{mv_blob_field}) { $CGI->{mv_blob_title} = 'Accounts book'; $CGI->{mv_blob_field} = 'accounts'; $CGI->{mv_blob_label} = 'b_city'; $CGI->{mv_blob_pointer} = 'b_nickname'; } if(! $CGI->{ui_break_before}) { $CGI->{ui_break_before} = 'b_address1 email'; } if(! $CGI->{ui_return_to}) { $CGI->{ui_return_to} = join "\0", '__UI_BASE__/customer_view', "customer=$CGI->{item_id}", ; } return; [/calc] [if !cgi item_id] [bounce page="__UI_BASE__/customer"] [/if] [set ui_class]Customers[/set] [seti page_title]Customer billing information -- [cgi item_id][/seti] [seti page_banner]Customer billing information: [page href="__UI_BASE__/customer_view" form="customer=[cgi customer]"][cgi customer][/seti] [set help_name]customer.edit[/set] [set icon_name]icon_people.gif[/set] @_UI_STD_HEAD_@

[table-editor cgi=1 no-table-meta=1 output_map=1] @_UI_STD_FOOTER_@