<div class="input"> <?php echo Form::input('barcode_message', Input::post('barcode_message', isset($pass) ? $pass->barcode_message : ''), array('class' => 'span4')); ?> </div> </div> <div class="clearfix"> <?php echo Form::label('Barcode format', 'barcode_format'); ?> <div class="input"> <?php echo \Fuel\Core\Form::select('barcode_format', Input::post('barcode_format', isset($pass) ? $pass->barcode_format : 0), array('QR', 'PDF417', 'Aztec'), array('class' => 'span2')); ?> </div> </div> <div class="clearfix"> <?php echo Form::label('Relevant date', 'relevant_date'); ?> <div class="input"> <?php echo \Fuel\Core\Form::input('relevant_date', Input::post('relevant_date', isset($pass) && $pass->relevant_date > 0 ? \Fuel\Core\Date::forge($pass->relevant_date)->format('mysql') : ''), array('class' => 'span2', 'placeholder' => '2012-11-01 10:10:10')); ?> </div>
<?php echo Form::label('Full Name', 'description', array('class' => 'control-label')); ?> <?php echo Form::input('description', Input::post('description', isset($user) ? $user->description : ''), array('class' => 'col-md-4 form-control', 'placeholder' => 'Description')); ?> </div> <div class="form-group"> <?php echo Form::label('System Login Rights', 'group', array('class' => 'control-label')); ?> <?php echo \Fuel\Core\Form::select('group', Input::post('group', isset($user) ? $user->group : 0), $groups, array('class' => 'form-control')); ?> </div> <div class="form-group"> <?php echo Form::label('Username', 'username', array('class' => 'control-label')); ?> <?php echo Form::input('username', Input::post('username', isset($user) ? $user->username : ''), array('class' => 'col-md-4 form-control', 'placeholder' => 'Username')); ?> </div> <div class="form-group"> <?php echo Form::label('Password', 'password', array('class' => 'control-label'));
?> </label> <label class="checkbox-inline"> <?php echo Form::checkbox('status', 0, isset($filters['status']) && $filters['status'] != '' && $filters['status'] == 0 ? true : false) . '承認待ち'; ?> </label> </div> </div> <div class="row"> <div class="col-md-2"> <label class="control-label">取引先担当部門</label> </div> <div class="col-md-4"> <?php echo \Fuel\Core\Form::select('department_id', isset($filters['department_id']) ? $filters['department_id'] : '', Constants::get_search_department(), array('class' => 'form-control')); ?> </div> </div> <div class="row text-center"> <button type="submit" class="btn btn-primary btn-sm"><i class="glyphicon glyphicon-search icon-white"></i> フィルタ</button> <button type="button" class="btn btn-info btn-sm" name="filter-clear-btn"><i class="glyphicon glyphicon-refresh icon-white"></i> フィルタ解除</button> </div> </div> </div> <nav> <?php echo html_entity_decode($pagination); ?> </nav>
<label class="checkbox-inline"> <?php echo Form::checkbox('PC[]', '3', (isset($interviews) and substr_count($interviews->PC, '3')) ? true : false); ?> 他</label> <?php echo \Fuel\Core\Form::input('PC_other', \Fuel\Core\Input::post('PC_other', isset($interviews) ? $interviews->PC_other : ''), array('class' => 'form-control', 'size' => '30', 'maxlength' => '30', 'placeHolder' => 'その他の場合')); ?> </td> </tr> <tr> <th class="text-right">職業</th> <td> <?php $value_occupation = array('' => '', '1' => '高校生', '2' => '大学生', '3' => '専門学校', '4' => '定時/通信制', '5' => 'フリーター', '6' => '主婦', '7' => '会社員', '8' => '自営業', '9' => 'その他'); echo \Fuel\Core\Form::select('occupation', \Fuel\Core\Input::post('occupation', isset($interviews) ? $interviews->occupation : ''), $value_occupation, array('class' => 'form-control')); ?> <span class="text-info">※いずれか必須</span> <?php echo \Fuel\Core\Form::input('occupation_other', \Fuel\Core\Input::post('occupation_other', isset($interviews) ? $interviews->occupation_other : ''), array('class' => 'form-control', 'size' => '20', 'placeHolder' => 'その他の場合')); ?> <span class="text-info">※その他を選んだ場合必須</span> <label id="form_occupation_other-error" class="error" for="form_occupation_other" style="display: inline-block;"></label> <div class="text-info">※一般応募画面と選択項目が異なります</div> </td> </tr> <tr> <th class="text-right">募集時給</th> <td> <div class="input-group"> <?php
?> </div> <label id="form_bank_type-error" class="error" for="form_bank_type"></label> <?php echo Fuel\Core\Form::input('bank_account_number', isset($partner->bank_account_number) ? $partner->bank_account_number : '', array('class' => 'form-control', 'size' => '12', 'maxlength' => '7')); ?> <label class="error" for="form_bank_account_number"></label> <div class="edit-before <?php echo (isset($is_view['bank_account_number']) or isset($is_view['bank_type'])) ? 'edit-display-show' : ''; ?> "> <div class="input-group"> <div class="input-group-addon">種別</div> <?php echo \Fuel\Core\Form::select('bank_type', isset($edit_partner->bank_type) ? $edit_partner->bank_type : '', Constants::$bank_type, array('class' => 'form-control', 'disabled')); ?> </div> <?php echo isset($edit_partner) ? \Fuel\Core\Form::input('', $edit_partner->bank_account_number, array('class' => 'form-control', 'disabled')) : ''; ?> </div> </td> </tr> <tr> <th class="text-right">備考</th> <td> <?php echo Fuel\Core\Form::textarea('notes', isset($partner->notes) ? $partner->notes : '', array('rows' => 5, 'cols' => 80, 'class' => 'form-control')); ?> <label class="error" for="form_notes"></label>
</td> <td> <?php echo Html::anchor('admin/pass/delete_image/' . $pass->id . '/' . $image['name'], 'Delete', array('onclick' => "return confirm('Are you sure?')")); ?> </td> </tr> <?php } ?> <tr> <?php echo \Fuel\Core\Form::open(array('enctype' => 'multipart/form-data')); ?> <td><?php echo \Fuel\Core\Form::select('upload_image_selection', '', $upload_image_selection); ?> </td> <td><?php echo \Fuel\Core\Form::file('upload_image'); ?> </td> <td></td> <td><?php echo \Fuel\Core\Form::submit('submit', 'Save', array('class' => 'btn btn-primary')); ?> </td> <?php echo \Fuel\Core\Form::close(); ?> </tr>
<?php echo \Fuel\Core\Asset::js('validate/plan.js'); ?> <div class="container"> <?php echo \Fuel\Core\Form::open(array('id' => 'form-plan', 'class' => 'form-inline')); ?> <h3> 予算 <?php $filter_date = ''; if (\Fuel\Core\Input::post('filter_date')) { $filter_date = \Fuel\Core\Input::post('filter_date'); } echo \Fuel\Core\Form::select('filter_date', $filter_date, Utility::get_time_current(), array('class' => 'form-control')); ?> </h3> <?php echo render('showinfo'); ?> <table class="table table-striped"> <div clas="input_hidden"> <?php //echo \Fuel\Core\Form::input('total_department',isset($total_department) ? $total_department : '',array('type' => 'hidden')); echo \Fuel\Core\Form::input('have_data', '', array('type' => 'hidden')); ?> </div> <?php foreach ($department as $k => $v) { ?>
<?php echo Form::input('short_code', Input::post('short_code', isset($inventory) ? $inventory->short_code : ''), array('class' => 'col-md-4 form-control', 'placeholder' => 'Short code')); ?> </div> <div class="form-group"> <?php echo Form::label('Units', 'inventory_units_id', array('class' => 'control-label')); ?> <?php // echo Form::input('inventory_units_id', Input::post('inventory_units_id', isset($inventory) ? $inventory->inventory_units_id : ''), array('class' => 'col-md-4 form-control', 'placeholder'=>'Inventory units id')); ?> <?php echo \Fuel\Core\Form::select('inventory_units_id', Input::post('inventory_units_id', isset($inventory) ? $inventory->inventory_units_id : 0), \Fuel\Core\Arr::assoc_to_keyval($inventory_units, 'id', 'name'), array('class' => 'form-control', 'required')); ?> </div> <div class="form-group"> <?php echo Form::label('Warning level', 'warning_level', array('class' => 'control-label')); ?> <?php echo Form::input('warning_level', Input::post('warning_level', isset($inventory) ? $inventory->warning_level : 0), array('class' => 'col-md-4 form-control', 'placeholder' => 'Warning level')); ?> </div> <div class="form-group"> <label class='control-label'> </label> <?php
</span> <div class="edit-before <?php echo isset($is_view['birthday']) ? $is_view['birthday'] : ''; ?> "> <?php echo \Fuel\Core\Form::select('year', \Fuel\Core\Input::post('year', isset($person_info) ? substr($person_info['birthday'], 0, 4) : ''), Constants::list_year_jp(), array('class' => 'form-control', 'disabled')); ?> <span class="text-info">年</span> <?php echo \Fuel\Core\Form::select('month', \Fuel\Core\Input::post('month', isset($person_info) ? substr($person_info['birthday'], 5, 2) : ''), Constants::list_month(), array('class' => 'form-control', 'disabled')); ?> <span class="text-info">月</span> <?php echo \Fuel\Core\Form::select('day', \Fuel\Core\Input::post('day', isset($person_info) ? substr($person_info['birthday'], 8, 2) : ''), Constants::list_day(), array('class' => 'form-control', 'disabled')); ?> <span class="text-info">日</span> </div> </td> </tr> <tr> <th class="text-right">年齢</th> <td> <div class="input-group"> <?php echo Form::input('age', Input::post('age', isset($post) ? $post->age : $edit_person['age']), array('class' => 'form-control', 'size' => 4)); ?> <div class="input-group-addon">歳</div> </div>
?> <div class="controls"> <?php echo Form::input('rate_per_hour', Input::post('rate_per_hour', isset($project) ? $project->rate_per_hour : ''), array('class' => 'col-md-4 form-control', 'placeholder' => 'Rate per hour')); ?> </div> </div> <div class="control-group"> <?php echo Form::label('Project status', 'project_status_id', array('class' => 'control-label input-sm')); ?> <div class="controls"> <?php echo \Fuel\Core\Form::select('project_status_id', \Fuel\Core\Input::post('project_status_id', isset($project) ? $project->project_status_id : 0), $project_statuses, array('class' => 'form-control')); ?> </div> </div> <div class="control-group"> <?php if (isset($project) && $project->id > 0) { echo Fuel\Core\Html::anchor('admin/projects', ' « All Projects', array('class' => 'btn btn-default')) . ' '; } echo Fuel\Core\Html::anchor('admin/projects' . (isset($project) && $project->id > 0 ? '/view/' . $project->id : ''), '« ' . (isset($project) ? ' Back' : 'All Projects'), array('class' => 'btn btn-default')) . ' '; echo Form::submit('submit', 'Save', array('class' => 'btn btn-success')); ?> </div> </fieldset>
<?php //get list ss $model_ss = new \Model_Mss(); $listss = $model_ss->get_list_all_ss(); $addr_2 = array('' => '全て') + array_column($listss, 'addr2', 'addr2'); echo \Fuel\Core\Form::select('address_2', \Fuel\Core\Input::get('address_2'), $addr_2, array('class' => 'form-control', 'style' => 'width:132px')); ?> </div> </div> <div class="row"> <div class="col-md-2"> <label class="control-label">取引先担当部門</label> </div> <div class="col-md-4"> <?php echo \Fuel\Core\Form::select('department_id', Fuel\Core\Input::get('department_id'), Constants::get_search_department(), array('class' => 'form-control')); ?> </div> </div> <div class="row"> <div class="col-md-2"> <label class="control-label">取引先(受注先)</label> </div> <div class="col-md-10"> <select class="form-control" id="group_search" name="group_search"> <option value="">全て</option> <?php foreach ($search_group as $group_id => $name) { ?> <option value="<?php echo $group_id;