mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-02-24 02:46:56 -05:00
Fixed New button in items form: visible in New Item not Edit/Update Item
This commit is contained in:
@@ -286,7 +286,7 @@ function get_item_data_row($item, $controller)
|
||||
array('class' => 'modal-dlg', 'title' => $CI->lang->line($controller_name.'_details_count'))
|
||||
),
|
||||
'edit' => anchor($controller_name."/view/$item->item_id", '<span class="glyphicon glyphicon-edit"></span>',
|
||||
array('class' => 'modal-dlg', 'data-btn-submit' => $CI->lang->line('common_submit'), 'data-btn-new' => $CI->lang->line('common_new'), 'title' => $CI->lang->line($controller_name.'_update'))
|
||||
array('class' => 'modal-dlg', 'data-btn-submit' => $CI->lang->line('common_submit'), 'title' => $CI->lang->line($controller_name.'_update'))
|
||||
));
|
||||
}
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ $(document).ready(function()
|
||||
<span class="glyphicon glyphicon-import"> </span><?php echo $this->lang->line('common_import_excel'); ?>
|
||||
</button>
|
||||
|
||||
<button class='btn btn-info btn-sm pull-right modal-dlg' data-btn-submit='<?php echo $this->lang->line('common_submit') ?>' data-href='<?php echo site_url($controller_name."/view"); ?>'
|
||||
<button class='btn btn-info btn-sm pull-right modal-dlg' data-btn-new='<?php echo $this->lang->line('common_new') ?>' data-btn-submit='<?php echo $this->lang->line('common_submit') ?>' data-href='<?php echo site_url($controller_name."/view"); ?>'
|
||||
title='<?php echo $this->lang->line($controller_name . '_new'); ?>'>
|
||||
<span class="glyphicon glyphicon-tag"> </span><?php echo $this->lang->line($controller_name. '_new'); ?>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user