Internal overhaul
This commit is contained in:
@@ -1,21 +1,19 @@
|
||||
<div class="row">
|
||||
<div class="span10 offset1">
|
||||
<fieldset>
|
||||
<legend>Add Export Data Map</legend>
|
||||
<div class="span11">
|
||||
<fieldset>
|
||||
<legend>Add Export Data Map</legend>
|
||||
|
||||
<?php echo Form::select('item_id',$o->list_itemsnoexport($module,$emo->id),NULL,array('label'=>'Product')); ?>
|
||||
<?php echo Form::input('map_data[account]','Internet:ADSL Supply',array('label'=>'Accounting Code','placeholder'=>'Account Code')); ?>
|
||||
<?php echo Form::input('map_data[item]','ADSL:ADSL2',array('label'=>'Inventory Code','placeholder'=>'Inventory Code')); ?>
|
||||
<?php echo Form::select('item_id',$o->list_itemsnoexport($module,$emo->id),NULL,array('label'=>'Product')); ?>
|
||||
<?php echo Form::input('map_data[account]','Internet:ADSL Supply',array('label'=>'Accounting Code','placeholder'=>'Account Code')); ?>
|
||||
<?php echo Form::input('map_data[item]','ADSL:ADSL2',array('label'=>'Inventory Code','placeholder'=>'Inventory Code')); ?>
|
||||
|
||||
<?php echo Form::hidden('export_module_id',$emo->id); ?>
|
||||
<?php echo Form::hidden('module_id',$module->mid()); ?>
|
||||
<?php echo Form::hidden('export_module_id',$emo->id); ?>
|
||||
<?php echo Form::hidden('module_id',$module->mid()); ?>
|
||||
</fieldset>
|
||||
|
||||
<div class="row">
|
||||
<div class="offset2">
|
||||
<button type="submit" class="btn btn-primary">Save changes</button>
|
||||
<button type="button" class="btn">Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</div> <!-- /span10 -->
|
||||
</div> <!-- /row -->
|
||||
<div class="row">
|
||||
<div class="offset2">
|
||||
<button type="submit" class="btn btn-primary">Save changes</button>
|
||||
<button type="button" class="btn">Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- /span -->
|
||||
|
@@ -1,20 +1,18 @@
|
||||
<div class="row">
|
||||
<div class="span10 offset1">
|
||||
<fieldset>
|
||||
<legend>Export Module Update</legend>
|
||||
<div class="span11">
|
||||
<fieldset>
|
||||
<legend>Export Module Update</legend>
|
||||
|
||||
<p>Available <?php echo $o->module->table_name(); ?> Columns to display</p>
|
||||
<p>Available <?php echo $o->module->table_name(); ?> Columns to display</p>
|
||||
|
||||
<?php echo Table::factory()
|
||||
->data($o->module->module()->table_columns())
|
||||
->jssort(FALSE)
|
||||
->columns(array(
|
||||
'column_name'=>'Name',
|
||||
))
|
||||
->select(URL::link('reseller','export/export'),$o->id,array('export_module_id'=>$o->id))
|
||||
->prepend(array(
|
||||
'column_name'=>array('input'=>array('key'=>'display[__VALUE__]','values'=>$o->display)),
|
||||
)); ?>
|
||||
</fieldset>
|
||||
</div> <!-- /span -->
|
||||
</div> <!-- /row -->
|
||||
<?php echo Table::factory()
|
||||
->data($o->module->module()->table_columns())
|
||||
->jssort(FALSE)
|
||||
->columns(array(
|
||||
'column_name'=>'Name',
|
||||
))
|
||||
->select(URL::link('reseller','export/export'),$o->id,array('export_module_id'=>$o->id))
|
||||
->prepend(array(
|
||||
'column_name'=>array('input'=>array('key'=>'display[__VALUE__]','values'=>$o->display)),
|
||||
)); ?>
|
||||
</fieldset>
|
||||
</div> <!-- /span -->
|
||||
|
Reference in New Issue
Block a user