Adding company_id attribute for client.
(It's used in several countries to identify company)
5 files modified
1 files added
New file |
| | |
| | | ALTER TABLE client ADD COLUMN company_id varchar(30); |
| | | |
| | |
| | | |
| | | INSERT INTO `help_faq` VALUES (1,1,0,'I\'d like to know ...','Yes, of course.',1,1,'riud','riud','r'); |
| | | |
| | | ALTER TABLE client ADD COLUMN company_id varchar(30); |
| | | |
| | | -- -------------------------------------------------------- |
| | | |
| | | SET FOREIGN_KEY_CHECKS = 1; |
| | |
| | | 'rows' => '', |
| | | 'cols' => '' |
| | | ), |
| | | 'company_id' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'TEXT', |
| | | 'default' => '', |
| | | 'value' => '', |
| | | 'separator' => '', |
| | | 'width' => '30', |
| | | 'maxlength' => '20', |
| | | 'rows' => '', |
| | | 'cols' => '' |
| | | ), |
| | | 'notes' => array ( |
| | | 'datatype' => 'TEXT', |
| | | 'formtype' => 'TEXTAREA', |
| | |
| | | $wb['customer_no_txt'] = 'Customer No.'; |
| | | $wb['vat_id_txt'] = 'VAT ID'; |
| | | $wb['required_fields_txt'] = '* Required fields'; |
| | | $wb['company_id_txt'] = 'IČO'; |
| | | ?> |
| | |
| | | $wb["customer_no_txt"] = 'Customer No.'; |
| | | $wb["vat_id_txt"] = 'VAT ID'; |
| | | $wb["required_fields_txt"] = '* Required fields'; |
| | | $wb['company_id_txt'] = 'Company/Entrepreneur ID'; |
| | | ?> |
| | |
| | | <label for="vat_id">{tmpl_var name='vat_id_txt'}</label>
|
| | | <input name="vat_id" id="vat_id" value="{tmpl_var name='vat_id'}" size="30" maxlength="255" type="text" class="textInput" />
|
| | | </div>
|
| | | <div class="ctrlHolder">
|
| | | <label for="company_id">{tmpl_var name='company_id_txt'}</label>
|
| | | <input name="company_id" id="company_id" value="{tmpl_var name='company_id'}" size="30" maxlength="255" type="text" class="textInput" />
|
| | | </div>
|
| | | <div class="ctrlHolder">
|
| | | <label for="notes">{tmpl_var name='notes_txt'}</label>
|
| | | <textarea name="notes" id="notes" rows='10' cols='30'>{tmpl_var name='notes'}</textarea>
|