X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=sales%2Finquiry%2Fsales_orders_view.php;h=125cae8c51bfb44334f6362b547b35295a2cf359;hb=2e181b13aa722a43e78b897404912d6b13a0a937;hp=abe17b41b17b94c00d45f0c25895efbf2783ea08;hpb=b8729988d58b007ccabbe00ebfb52c0f944ee87f;p=fa-stable.git diff --git a/sales/inquiry/sales_orders_view.php b/sales/inquiry/sales_orders_view.php index abe17b41..125cae8c 100644 --- a/sales/inquiry/sales_orders_view.php +++ b/sales/inquiry/sales_orders_view.php @@ -1,13 +1,13 @@ . + See the License here . ***********************************************************************/ $page_security = 2; $path_to_root="../.."; @@ -140,7 +140,7 @@ $id = find_submit('_chgtpl'); if ($id != -1) change_tpl_flag($id); -if (isset($_POST['Update'])) { +if (isset($_POST['Update']) && isset($_POST['last'])) { foreach($_POST['last'] as $id => $value) if ($value != check_value('chgtpl'.$id)) change_tpl_flag($id); @@ -299,6 +299,7 @@ if (get_post('SearchOrders')) { $table->set_sql($sql); $table->set_columns($cols); } +$table->width = "80%"; start_form(); display_db_pager($table);