Inverted Sale edit form Delete and Submit buttons

This commit is contained in:
FrancescoUK
2016-07-05 20:24:52 +01:00
parent 4618af352c
commit 5be0feafe9

View File

@@ -77,7 +77,7 @@ function get_sale_data_row($sale, $controller)
array('title'=>$CI->lang->line('sales_show_receipt'))
);
$row['edit'] = anchor($controller_name."/edit/$sale->sale_id", '<span class="glyphicon glyphicon-edit"></span>',
array('class'=>"modal-dlg print_hide", 'data-btn-submit' => $CI->lang->line('common_submit'), 'data-btn-delete' => $CI->lang->line('common_delete'), 'title' => $CI->lang->line($controller_name.'_update'))
array('class'=>"modal-dlg print_hide", 'data-btn-delete' => $CI->lang->line('common_delete'), 'data-btn-submit' => $CI->lang->line('common_submit'), 'title' => $CI->lang->line($controller_name.'_update'))
);
return $row;