mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-14 12:02:37 -04:00
fixed wrong titles in excel import forms (coming from manage views) (#116)
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
<div id="required_fields_message"><?php echo $this->lang->line('customers_import_items_excel'); ?></div>
|
||||
|
||||
<ul id="error_message_box" class="error_message_box"></ul>
|
||||
|
||||
<?php echo form_open_multipart('customers/do_excel_import/', array('id'=>'item_form', 'class'=>'form-horizontal')); ?>
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
<div id="required_fields_message"><?php echo $this->lang->line('items_import_items_excel'); ?></div>
|
||||
|
||||
<ul id="error_message_box" class="error_message_box"></ul>
|
||||
|
||||
<?php echo form_open_multipart('items/do_excel_import/', array('id'=>'item_form', 'class'=>'form-horizontal')); ?>
|
||||
|
||||
@@ -160,8 +160,9 @@ function post_bulk_form_submit(response)
|
||||
<div id="title" class="float_left"><?php echo $this->lang->line('common_list_of').' '.$this->lang->line('module_'.$controller_name); ?></div>
|
||||
<?php echo anchor("$controller_name/excel_import",
|
||||
"<div class='btn btn-info btn-sm pull-right'><span>" . $this->lang->line('common_import_excel') . "</span></div>",
|
||||
array('class'=>'modal-dlg modal-btn-submit none', 'title'=>$this->lang->line('common_import_excel')));
|
||||
array('class'=>'modal-dlg modal-btn-submit none', 'title'=>$this->lang->line('items_import_items_excel')));
|
||||
?>
|
||||
|
||||
<?php echo anchor("$controller_name/view/-1",
|
||||
"<div class='btn btn-info btn-sm pull-right' style='margin-right: 10px;'><span>" . $this->lang->line($controller_name . '_new') . "</span></div>",
|
||||
array('class'=>'modal-dlg modal-btn-new modal-btn-submit', 'title'=>$this->lang->line($controller_name . '_new')));
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php $this->load->view("partial/header"); ?>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function()
|
||||
{
|
||||
@@ -59,12 +60,13 @@ function post_person_form_submit(response)
|
||||
|
||||
<div id="title_bar">
|
||||
<div id="title" class="float_left"><?php echo $this->lang->line('common_list_of').' '.$this->lang->line('module_'.$controller_name); ?></div>
|
||||
<?php if ($controller_name =='customers')
|
||||
<?php
|
||||
if ($controller_name == 'customers')
|
||||
{
|
||||
?>
|
||||
<?php echo anchor("$controller_name/excel_import",
|
||||
"<div class='btn btn-info btn-sm pull-right'><span>" . $this->lang->line('common_import_excel') . "</span></div>",
|
||||
array('class'=>'modal-dlg modal-btn-submit', 'title'=>$this->lang->line('items_import_items_excel')));
|
||||
array('class'=>'modal-dlg modal-btn-submit', 'title'=>$this->lang->line('customers_import_items_excel')));
|
||||
?>
|
||||
<?php
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user