$('#doc_to').dateEntry({dateFormat: '<?php echo $this->config->item('crm_date_entry_format'); ?> ', spinnerImage:''}); </script> </div> <div class="column span-3"> </div> <div class="column span-7"> <?php echo form_label(lang('BILL_CODE'), 'bill_code'); ?> <br> <?php echo form_input('bill_code', element('_airsell_headers.bill_code', $search, ''), 'id="bill_code" class="text" style="width:50px;"'); ?> </div> <div class="column span-7"> <?php echo form_label(lang('BILL_NUM'), 'bill_num'); ?> <br> <?php echo form_input('bill_num', element('_airsell_headers.bill_num', $search, ''), 'id="bill_num" class="text" style="width:150px;"'); ?> </div> <div class="column span-7 last"> <?php echo form_label(lang('CLIENT_L_NAME'), '_clients_rid');
echo form_dropdown('_account_states_rid', get_states_list(), element('_finjournal._account_states_rid', $search, null), 'id="_account_states_rid" class="text" '); ?> </div> <div class="column span-6 last"> </div> <div class="clear"></div> <div class="column span-3"> </div> <div class="column span-3"> <?php echo form_label(lang('OPER_DATE_FROM'), 'oper_date_from'); ?> <br> <?php echo form_input('oper_date_from', date_conv(element('_finjournal.oper_date >=', $search, null)), 'id="oper_date_from" class="text date-entry"'); ?> <script type="text/javascript"> $('#oper_date_from').dateEntry({dateFormat: '<?php echo $this->config->item('crm_date_entry_format'); ?> ', spinnerImage:''}); </script> </div> <div class="column span-3"> <?php echo form_label(lang('OPER_DATE_TO'), 'oper_date_to'); ?> <br> <?php
<? switch($contr_type) { case 'CLIENT': { echo get_clients_vp($default_value = $value, $val_p = 'debetor_rid', $scr_p = 'debetor_name'); break; } case 'TOUROPERATOR': { echo get_touroperators_vp($default_value = $value, $val_p = 'debetor_rid', $scr_p = 'debetor_name'); break; } case 'FILIAL': { echo get_filials_vp($default_value = $value, $val_p = 'debetor_rid', $scr_p = 'debetor_name'); break; } case 'EMPLOYEER': { echo get_employeers_vp($default_value = $value, $val_p = 'debetor_rid', $scr_p = 'debetor_name'); break; } case 'CONTRAHENT': { echo get_contrahens_vp($default_value = $value, $val_p = 'debetor_rid', $scr_p = 'debetor_name'); break; } DEFAULT: { echo ''; } } ?>
echo $this->config->item('crm_date_entry_format'); ?> ', spinnerImage:''}); </script> </div> </fieldset> <div class="column span-4"> <?php echo form_label(lang('EMPLOYEER') . required_field(), 'full_name'); ?> </div> <div class="column span-20 last"> <?php echo get_employeers_vp(set_value('_employeers_rid', $ds->_employeers_rid)); ?> </div> <div class="column span-4"> <?php echo form_label(lang('FILIAL') . required_field(), 'filial_name'); ?> </div> <div class="column span-20 last"> <?php echo get_filials_vp(set_value('_filials_rid', $ds->_filials_rid)); ?> </div> <div class="column span-4">
</h3> <?php echo form_open(get_currcontroller() . "/create/go", array('id' => 'create_' . $orid, 'autocomplete' => 'off')); ?> <div class="container editform"> <?if(validation_errors()){?> <div class="error"> <?php echo validation_errors('<div>', '</div>'); ?> </div> <?}?> <?if($success===False){?> <div class="error"> <?php echo lang('SAVE_SYSTEM_ERROR'); ?> </div> <?}?> <?if($success===True){?> <div class="success"> <?php echo lang('SAVE_SYSTEM_SUCCESS'); ?> </div> <?}?> <div class="column span-3"> <?php echo form_label(lang('EMPLOYEER'), 'emp_name'); ?> <font color="red">*</font>
<?if($success===True){?> <div class="success"> <?php echo lang('SAVE_SYSTEM_SUCCESS'); ?> </div> <?}?> <div class="column span-4"> <?php echo form_label(lang('NEW_OWNER'), '_employeers_rid'); ?> </div> <div class="column span-20 last"> <?php echo get_employeers_vp(set_value('_employeers_rid', get_emprid_byurid($ds->owner_users_rid))); ?> </div> <div class="column span-4"> <?php echo form_label(lang('CURRENT_FILIAL') . ':', '_employeers_rid'); ?> </div> <div class="column span-20 last"> <?php echo get_filial_name_byrid(get_emp_filial(get_emprid_byurid($ds->owner_users_rid))); ?> </div> <div class="column span-4">
<div class="column span-5"> <?php echo form_label(lang('COUNTRY'), '_countries_rid'); ?> <br> <?php echo form_dropdown('_countries_rid', get_countries_list(), element('_countries.rid', $search, ''), 'id="_countries_rid" class="text" style="width:150px;"'); ?> </div> <div class="column span-5"> <?php echo form_label(lang('DATE_FROM'), 'date_from'); ?> <br> <?php echo form_input('date_from', date_conv(element('_tours.date_from >=', $search, null)), 'id="date_from" class="text date-entry"'); ?> <script type="text/javascript"> $('#date_from').dateEntry({dateFormat: '<?php echo $this->config->item('crm_date_entry_format'); ?> ', spinnerImage:''}); </script> </div> <div class="column span-5"> <?php echo form_label(lang('DATE_TO'), 'date_to'); ?> <br> <?php echo form_input('date_to', date_conv(element('_tours.date_to <=', $search, null)), 'id="date_to" class="text date-entry"');