<h4> 【入库装箱信息】 </h4> {$box_and_product_html} INFO; echo block_notice_div($list_info_html); echo '<br/>'; echo block_header(lang('in_store_apply_reslut')); $again_completed = site_url('stock/abroad_stock/in_store_apply_page', array('list_id' => $list_id, 'status' => 1)); $config_completed = array('name' => 'submit', 'value' => lang('completed'), 'type' => 'button', 'style' => 'margin:10px', 'onclick' => "clear_div();helper.update_content('{$again_completed}', null, 'in_store_list_div',1);"); $url = site_url('stock/abroad_stock/in_store_case', array('again_list_id' => $list_id, 'case_no' => $case_no)); $config_again = array('name' => 'submit', 'value' => lang('again_add_box'), 'type' => 'button', 'style' => 'margin:10px', 'onclick' => "clear_div();helper.update_content('{$url}', null, 'in_store_list_div',1);"); $back_url = site_url('stock/abroad_stock/in_store_product', array('case_id' => $case_id, 'tag' => 'product_back')); $config_back = array('name' => 'submit_back', 'value' => lang('renext'), 'type' => 'button', 'style' => 'margin:10px', 'onclick' => "clear_div();helper.update_content('{$back_url}', null, 'in_store_list_div',1);"); echo '<h2 align="center">' . block_button($config_back) . block_button($config_again) . block_button($config_completed) . '</h2>'; echo block_notice_div(lang('in_store_apply_notice')); ?> <script> window.onbeforeunload=function () { if( ! confirm("<?php echo lang('before_refurbish_info'); ?> ")) { return false; } }
$options = array(lang('GuangZhou') => lang('GuangZhou'), lang('ShenZhen') => lang('ShenZhen')); $data[] = array($this->block->generate_required_mark(lang('locale')), form_dropdown('locale', $options, isset($apply_obj) ? $apply_obj->locale : '1')); $options = array('1' => lang('yes'), '0' => lang('no')); $data[] = array($this->block->generate_required_mark(lang('is_collect')), form_dropdown('is_collect', $options, isset($apply_obj) ? $apply_obj->is_collect : '1')); $tomorrow = mktime(00, 00, 00, date("m"), date("d") + 1, date("Y")); $data[] = array($this->block->generate_required_mark(lang('collect_time')), block_time_picker('collect_time', isset($apply_obj) ? $apply_obj->collect_time : date('Y-m-d', $tomorrow) . " 12:00:00")); $config = array('name' => 'collect_address', 'id' => 'collect_address', 'value' => isset($apply_obj) ? $apply_obj->collect_address : lang('mallerp_company_address'), 'maxlength' => '50', 'size' => '50'); $data[] = array($this->block->generate_required_mark(lang('collect_address')), form_input($config)); $options = array('许先生' => '许先生', '发货员' => '发货员'); $data[] = array($this->block->generate_required_mark(lang('collect_contact')), form_dropdown('collect_contact', $options, isset($apply_obj) ? $apply_obj->collect_contact : '1')); $options = array('0755-83998006-8020' => '0755-83998006-8020', '0755-83998006-8021' => '0755-83998006-8021'); $data[] = array($this->block->generate_required_mark(lang('collect_phone')), form_dropdown('collect_phone', $options, isset($apply_obj) ? $apply_obj->collect_phone : '1')); $config = array('name' => 'abroad_stock_remark', 'id' => 'abroad_stock_remark', 'value' => isset($apply_obj) ? $apply_obj->remark : '', 'maxlength' => '200', 'size' => '80'); $data[] = array(lang('abroad_stock_remark'), form_input($config)); echo "<div id='in_store_list_div'>"; echo block_notice_div($today_all_orders_detail); echo '<br/>'; $title = lang('bfe_in_store_apply'); echo block_header($title); $attributes = array('id' => 'in_store_list_info_form'); $url = site_url('stock/abroad_stock/in_store_case'); echo form_open($url, $attributes); echo form_hidden('list_id', isset($apply_obj) ? $apply_obj->id : '-1'); echo $this->block->generate_table($head, $data); $config = array('name' => 'submit', 'value' => lang('next'), 'type' => 'button', 'style' => 'margin:10px', 'onclick' => "clear_div();helper.update_content('{$url}',\$('in_store_list_info_form').serialize(true), 'in_store_list_div',1);"); echo '<h2>' . block_button($config) . '</h2>'; echo form_close(); echo '</div>'; ?>
$data = array(); foreach ($statistics as $row) { $ito = empty($row->stock_amount) ? price($row->sale_amount / 1, 4) : price($row->sale_amount / $row->stock_amount, 4); $ito = $ito * 100 . '%'; $data[] = array(fetch_user_name_by_id($row->purchaser_id), $row->sale_amount, $row->stock_amount, $ito); } echo block_header(lang('department_month_ito_statistics')); $start_year = 2004; $end_year = date('Y'); $years = array(); for ($i = $start_year; $i <= $end_year; $i++) { $years[$i] = $i; } $months = array(); for ($i = 1; $i <= 12; $i++) { $months[$i] = $i; } echo form_open(current_url()); echo br(); echo form_label(lang('year')) . ': ' . form_dropdown('year', $years, $year); echo repeater(' ', 3); echo form_label(lang('month')) . ': ' . form_dropdown('month', $months, $month); echo repeater(' ', 3); $config = array('name' => 'submit', 'value' => lang('submit'), 'type' => 'submit'); echo block_button($config); echo form_close(); $sortable = array('default', 'integer', 'integer', 'float'); echo block_js_sortable_table($head, $data, $sortable); echo br(); echo block_notice_div(lang('note') . ': ' . br() . lang('ito_monthly_notice'));
$state_province = lang('state_province'); $country = lang('country'); $zip_code = lang('zip_code'); $address = lang('address'); $customer_information = <<<CUSTOMER <div style='padding: 10px;'> {$name}: {$order->name}<br/> {$address}: {$order->address_line_1} {$order->address_line_2}<br/> {$town_city}: {$order->town_city}<br/> {$state_province}: {$order->state_province}<br/> {$country}: {$order->country}<br/> {$zip_code}: {$order->zip_code} {$edit_button}<br/> </div> CUSTOMER; $row[] = $customer_information; $give_back_url = site_url('shipping/deliver_management/give_order_back_to_shipping'); $config = array('name' => 'confirm_' . $order->id, 'id' => 'confirm_' . $order->id, 'value' => lang('give_order_back_to_shipping'), 'onclick' => "give_order_back_shipping('{$give_back_url}', {$order->id});"); $give_back = block_button($config); $row[] = $give_back; $data[] = $row; $html .= $this->block->generate_table($head, $data); } echo $html; echo block_notice_div(lang('note') . ": <br/>" . lang('update_shipping_information_note')); ?> <script> helper.focus('weight'); helper.focus('return'); </script>
$saler_name = array(); foreach ($statistics as $statistic) { $saler_name = $CI->purchase_statistics_model->fetch_saler_name_by_id($statistic->saler_id); $data[] = array($statistic->second_glance_amount, $statistic->totable_amount, $statistic->second_glance_rate, $saler_name); } echo block_header(lang('second_glance_rate_statistic')); $start_year = 2004; $end_year = date('Y'); $years = array(); for ($i = $start_year; $i <= $end_year; $i++) { $years[$i] = $i; } $months = array(); for ($i = 1; $i <= 12; $i++) { $months[$i] = $i; } echo $this->block->generate_pagination('statistics'); echo form_open(current_url()); echo br(); echo form_label(lang('year')) . ': ' . form_dropdown('year', $years, $year); echo repeater(' ', 3); echo form_label(lang('month')) . ': ' . form_dropdown('month', $months, $month); echo repeater(' ', 3); $config = array('name' => 'submit', 'value' => lang('submit'), 'type' => 'submit'); echo block_button($config); echo form_close(); $sortable = array('default', 'integer', 'default', 'float'); echo block_js_sortable_table($head, $data, $sortable); echo br(); echo block_notice_div(lang('note') . ': ' . br() . lang('second_glance_rate_monthly_notice'));
echo $this->block->generate_reset_search($config); echo $this->block->generate_table($head, $data, $filters, 'order'); echo form_close(); echo $this->block->generate_check_all(); $batch_confirm_url = site_url('order/regular_order/make_batch_confirmed'); $batch_confirm_order = lang('batch_confirm_order'); if (isset($confirm_type) && $confirm_type == 'wait_for_finance_confirmation') { // $confirm_url = site_url('finance/finance_order/make_batch_confirmed'); $batch_confirm_url = site_url('finance/finance_order/make_batch_confirmed'); $batch_confirm_order = lang('batch_approve'); } $config = array('name' => 'batch_confirm', 'id' => 'batch_confirm', 'value' => $batch_confirm_order, 'type' => 'button', 'onclick' => "batch_confirm_order('{$batch_confirm_url}');"); $batch_confirm = '<div style="float: right; ">'; $batch_confirm .= block_button($config); $batch_confirm .= '</div>'; echo $batch_confirm; echo '<div style="clear:both;"></div>'; echo $this->block->generate_pagination('order'); echo block_notice_div(lang('note') . ': <br/>' . lang('confirm_order_notice')); ?> <script> function remove_item(obj) { if (confirm('Are you sure?')) { $(obj.parentNode).remove(); } } </script>
<?php $this->load->helper('product_permission'); $this->load->model('user_model'); $html = ''; $url = site_url('pi/product/do_import_product_upload'); $html .= '<br/>' . block_form_uploads('userfile', $url, NULL, 'upload_csv_file'); $html .= ' ' . block_notice_div(lang('import_product_csv_file_notice')); $html .= '<br/>'; $head = array(lang('upload_file')); $data = array(); $data[] = array($html); echo $error; echo block_header(lang('import_product')); echo block_table($head, $data); ?>
<?php $this->load->helper('product_permission'); $this->load->model('user_model'); $html = ''; $url = site_url('order/regular_order/do_upload'); $html .= '<br/>' . block_form_uploads('userfile', $url, NULL, 'upload_csv_file'); $html .= ' ' . block_notice_div(lang('ali_csv_file_notice')); $html .= '<br/>'; $head = array(lang('upload_file')); $data = array(); $data[] = array($html); echo $error; echo block_header(lang('add_aliexpress')); echo block_table($head, $data); ?>
$config = array('name' => $country_id, 'id' => $country_id, 'value' => '', 'size' => '6'); $country_form = form_input($config); $shipping_type_str .= '<div id="bid_rate_div" style="display: block;">' . lang('country') . ': ' . $country_form . '(' . lang('default_country_is_usa') . ")</div>"; $config = array('name' => 'buyer_shipping_cost', 'id' => 'buyer_shipping_cost', 'value' => 0, 'maxlength' => '20', 'size' => '6'); $buyer_shipping_cost_str = form_input($config) . br() . lang('currency_change_with_eshop'); $config = array('name' => 'other_cost', 'id' => 'other_cost', 'value' => '0.65', 'maxlength' => '20', 'size' => '6'); $other_cost_str = form_input($config); $data[] = array($eshop_codes_str, $sale_modes_str, '<div id="category_div"></div>' . lang('will_get_other_category_if_no'), $eshop_list_count_str, $pay_option_str, $pay_discount_str, $shipping_type_str, $buyer_shipping_cost_str, $other_cost_str); echo br(); echo block_table($head, $data); echo br(); echo '<div id="price_result" style="display:none;"></div>'; $config = array('name' => 'calculate_price', 'id' => 'calculate_price', 'value' => lang('calculate_price'), 'onclick' => "calculate_price('{$url}');"); echo block_button($config); echo block_ac($country_id, array('country_code', 'name_cn')); echo block_notice_div(lang('note') . ": <br/>" . lang('price_calculation_note')); echo '</div>'; ?> <script type="text/javascript" > document.observe('dom:loaded', function() { fetch_eshop_catalog('<?php echo $fetch_eshop_catalog_url; ?> '); init_price_result('<?php echo $url; ?> ', 1); }); </script>
$total_ebay_cost_usd = 0; foreach ($ebay_by_currency as $corrency => $cost) { $rmb = price(calc_currency('USD', $cost)); $total_ebay_cost_usd += price($cost); $total_ebay_cost += $rmb; } $ebay_cost_str .= "USD: " . $total_ebay_cost_usd . ' -> ' . DEFAULT_CURRENCY_CODE . ': ' . $total_ebay_cost . "<br/>"; $revenue_str = ''; $total_revenue = 0; foreach ($revenue_by_currency as $corrency => $cost) { $rmb = price(calc_currency($corrency, $cost)); $revenue_str .= $corrency . ": " . price($cost) . ' -> ' . DEFAULT_CURRENCY_CODE . ': ' . $rmb . "<br/>"; $total_revenue += $rmb; } $total_profit = price($total_revenue - $total_shipping_cost - $product_total_cost - $total_ebay_cost); $data[] = array(lang('total_order_count') . ': ' . $order_count . '<br/><br/>' . $country_str, DEFAULT_CURRENCY_CODE . ': ' . price($product_total_cost), lang('total_cost') . "(" . DEFAULT_CURRENCY_CODE . '): ' . price($total_shipping_cost) . '<br/><br/>' . $shipping_cost_str, lang('total_cost') . "(" . DEFAULT_CURRENCY_CODE . '): ' . price($total_ebay_cost) . '<br/><br/>' . $ebay_cost_str, lang('total_revenue') . "(" . DEFAULT_CURRENCY_CODE . '): ' . price($total_revenue) . '<br/><br/>' . $revenue_str, lang('total_profit') . "(" . DEFAULT_CURRENCY_CODE . '): ' . $total_profit); echo block_header(lang('order_cost_statistics')); echo '<br/>'; echo form_open(current_url()); echo lang('from') . ' ' . block_time_picker('begin_time', $begin_time) . ' '; echo lang('to') . ' ' . block_time_picker('end_time', $end_time) . ' '; //echo form_dropdown('input_user', $input_users, $current_input_user); $auction_sites = array('' => lang('all'), 'ebay_site' => lang('ebay_site'), 'aliexpress' => lang('aliexpress'), 'b2c' => lang('b2c'), 'not_online' => lang('not_online')); echo form_dropdown('auction_site', $auction_sites, ''); $config = array('name' => 'submit', 'value' => lang('submit'), 'type' => 'submit'); echo block_button($config); echo form_close(); $sortable[] = 'default'; echo block_js_sortable_table($head, $data, $sortable, "width: 100%;border-collapse: collapse;"); echo block_notice_div(lang('order_cost_statistics_note'));
<?php $url = site_url('sale/ebay_competitor/add_competitor'); $add_button = $this->block->generate_add_icon($url, "{'item_id' : {$item_id}}"); $head = array(lang('seller_id'), lang('url'), lang('allowed_difference'), lang('options') . $add_button); $data = array(); $code_url = site_url('sale/ebay_competitor/update_competitor'); foreach ($competitors as $competitor) { $drop_button = $this->block->generate_drop_icon('sale/ebay_competitor/drop_competitor_by_id', "{id: {$competitor->id}}", TRUE); $data[] = array($this->block->generate_div("seller_id_{$competitor->id}", isset($competitor) && $competitor->seller_id ? $competitor->seller_id : '[edit]'), $this->block->generate_div("url_{$competitor->id}", isset($competitor) ? $competitor->url : '[edit]'), $this->block->generate_div("allowed_difference_{$competitor->id}", isset($competitor) ? $competitor->allowed_difference : '[edit]'), $drop_button); echo $this->block->generate_editor("seller_id_{$competitor->id}", 'ebay_competitor_form', $code_url, "{id: {$competitor->id}, type: 'seller_id'}"); echo $this->block->generate_editor("url_{$competitor->id}", 'ebay_competitor_form', $code_url, "{id: {$competitor->id}, type: 'url'}"); echo $this->block->generate_editor("allowed_difference_{$competitor->id}", 'ebay_competitor_form', $code_url, "{id: {$competitor->id}, type: 'allowed_difference'}"); } $title = lang('competitor_setting'); echo block_header($title); echo form_open(); echo $this->block->generate_table($head, $data); echo form_close(); echo block_notice_div(lang('competitor_allowed_difference_notice'));
} $auction_site_type = array(); $auction_site_type[''] = lang('all'); $auction_site_type['Ebay'] = 'Ebay'; $auction_site_type['wish'] = 'Wish'; $auction_site_type['aliexpress'] = 'Aliexpress'; $auction_site_type['zencart'] = 'Zencart'; $auction_site_type['mallerp'] = 'Mallerp'; $filters = array(array('type' => 'input', 'field' => 'id', 'method' => '='), array('type' => 'input', 'field' => 'item_no|name|country|buyer_id'), array('type' => 'input', 'field' => 'item_title_str|item_id_str|sku_str|is_register'), array('type' => 'input', 'field' => 'transaction_id|track_number', 'method' => '='), array('type' => 'input', 'field' => 'ship_confirm_date|ship_weight|ship_confirm_user'), array('type' => 'dropdown', 'field' => 'is_register', 'options' => $shipping_types, 'method' => '='), array('type' => 'dropdown', 'field' => 'auction_site_type', 'options' => $auction_site_type, 'method' => '='), array('type' => 'input', 'field' => 'gross', 'method' => 'from_to'), array('type' => 'input', 'field' => 'shippingamt', 'method' => '>=')); if ($see_profit_rate) { $filters[] = array('type' => 'input', 'field' => 'profit_rate', 'method' => 'from_to'); } $filters[] = $this->block->generate_search_dropdown('order_status', 'order_status'); $filters[] = array('type' => 'date', 'field' => 'input_date', 'method' => 'from_to'); $CI =& get_instance(); if ($CI->is_super_user()) { $filters[] = array('type' => 'dropdown', 'field' => 'input_user', 'options' => $user_options, 'method' => '='); } $config = array('filters' => $filters); echo $this->block->generate_pagination('order'); echo form_open(); echo $this->block->generate_reset_search($config); echo $this->block->generate_table($head, $data, $filters, 'order'); echo form_close(); echo $this->block->generate_pagination('order'); $txt = sprintf(lang('total_return_cost'), $total_return_cost); echo block_notice_div($txt); if (isset($table) && $table === 'order_list_completed') { echo block_notice_div(lang('completed_return_cost_notice')); echo block_notice_div(lang('move_order_notice')); }
<?php $this->load->helper('product_permission'); $this->load->model('user_model'); $html = ''; $url = site_url('shipping/deliver_management/do_upload'); $html .= '<br/>' . block_form_uploads('userfile', $url, NULL, 'upload_csv_file'); $html .= ' ' . block_notice_div(lang('import_track_number_notice')); $html .= '<br/>'; $head = array(lang('upload_file')); $data = array(); $data[] = array($html); echo $error; echo block_header(lang('import_track_number')); echo block_table($head, $data); ?>
$track_url = $CI->ebay_model->get_track_url_by_is_register($order->is_register); $html .= "<label onclick=get_orderinfo('" . $order->track_number . "','" . $ship_confirm_date . "','" . $order->item_no . "','" . $order->ship_remark . "','" . $name . "','" . $address_line_1 . "','" . $address_line_2 . "','" . $town_city . "','" . $state_province . "','" . $zip_code . "','" . $country . "','" . trim($track_url) . "','" . $user_name_en . "');> " . $order->item_no . "---" . $order->currency . " " . ($order->gross != '' ? $order->gross : $order->net) . "[" . $order->item_id_str . "]</label><br>"; } $data[] = array(lang('order'), $html); $config = array('name' => 'replaycontent', 'id' => 'replaycontent', 'value' => $message->replaycontent, 'cols' => '90', 'rows' => '10'); $config_id = array('name' => 'id', 'id' => 'id', 'value' => $message->id, 'type' => 'hidden'); $data[] = array(lang('ebay_message_reply'), form_textarea($config) . form_input($config_id)); echo $this->block->generate_table($head, $data); if ($message->update_ebay != 1 && $message->status != 5) { $config = array('name' => 'submit', 'value' => lang('submit'), 'type' => 'button', 'onclick' => "this.blur();helper.ajax('{$url}',\$('reply_form').serialize(true), 1);"); echo block_button($config); } echo form_close(); echo '</center>'; $note = lang('note') . ': ' . '<br/>' . lang('message_template_note'); echo block_notice_div($note); ?> <script> function get_coefficient(value,buyerid) { var value=value.replace("{buyerid}",buyerid); var value=value.replace(/~@~/g, ' '); //alert(value); if(value) { $('replaycontent').value = value; //document.getElementById('replaycontent').value = value; } else {
<?php $this->load->helper('product_permission'); $this->load->model('user_model'); $html = ''; $url = site_url('stock/stock_check/do_import_stock_count_upload'); $html .= '<br/>' . block_form_uploads('userfile', $url, NULL, 'upload_csv_file'); $html .= ' ' . block_notice_div(lang('do_import_stock_count_upload_note')); $html .= '<br/>'; $head = array(lang('upload_file')); $data = array(); $data[] = array($html); echo $error; echo block_header(lang('import_stock_count')); echo block_table($head, $data); ?>
<?php $this->load->helper('product_permission'); $this->load->model('user_model'); $html = ''; $url = site_url('pi/product/do_import_product_stock_upload'); $html .= '<br/>' . block_form_uploads('userfile', $url, NULL, 'upload_csv_file'); $html .= ' ' . block_notice_div(lang('batch_import_product_shelf_code_note')); $html .= '<br/>'; $head = array(lang('upload_file')); $data = array(); $data[] = array($html); echo $error; echo block_header(lang('batch_import_product_shelf_code')); echo block_table($head, $data); ?>
if (!isset($CI->home_setting_model)) { $CI->load->model('home_setting_model'); } $show_home_info = ''; $priority = $CI->user_model->fetch_user_priority_by_system_code($CI->default_system()); foreach ($group_ids as $group_id) { $show_home_info .= $CI->home_setting_model->get_block_html_by_group_id($group_id); } if ($show_home_info) { if ($priority >= 2) { $show_home_info = $CI->home_setting_model->get_important_message_by_group_code($CI->default_system()) . "<br><br>" . $show_home_info; } echo block_notice_div($show_home_info); } else { if ($priority >= 2) { echo block_notice_div($CI->home_setting_model->get_important_message_by_group_code($CI->default_system())); } } ?> <div id="message_popup" style="right: 0px; top: 0px; display: none"> </div> <?php /* $CI = & get_instance(); $CI->is_super_user(); $systems = $CI->user_model->fetch_current_system_codes();
$data = array(); $saler_url = site_url('sale/sale_order/verify_saler_input_user'); foreach ($salers as $saler) { $drop_button = $this->block->generate_drop_icon('sale/sale_order/drop_saler_input_user', "{id: {$saler->saler_id}}", TRUE); $more_button = block_more_icon('sale/sale_order/saler_add_input_user', "{saler_id: {$saler->saler_id}}"); $input_user_url = site_url('sale/sale_order/verify_input_user'); $input_users = $this->sale_order_model->saler_fetch_input_users($saler->saler_id); $input_users_str = ''; foreach ($input_users as $inputuser) { if ('void' == $inputuser->paypal_email) { $input_user = '******'; } else { $input_user = $inputuser->paypal_email; } $input_users_str .= $this->block->generate_div("input_user_{$inputuser->id}", $input_user) . '<br>'; echo $this->block->generate_editor("input_user_{$inputuser->id}", 'sale_order_form', $input_user_url, "{id: {$inputuser->id}, type: 'paypal_email'}", "{$input_user_collection}"); } $input_users_str .= $more_button; $data[] = array($this->block->generate_div("saler_{$saler->saler_id}", isset($saler) && $saler->saler_id != '0' ? fetch_user_name_by_id($saler->saler_id) : '[edit]'), $input_users_str, block_div("saler_in_operation_{$saler->saler_id}", $saler->in_operation == 1 ? $yes : $no), $drop_button); echo $this->block->generate_editor("saler_{$saler->saler_id}", 'sale_order_form', $saler_url, "{id: {$saler->saler_id}, type: 'saler_id'}", "{$collection}"); echo $this->block->generate_editor("saler_in_operation_{$saler->saler_id}", 'sale_order_form', $saler_url, "{id: {$saler->saler_id}, type: 'in_operation'}", $in_operation_collection); } $title = lang('sale_setting'); echo block_header($title); echo form_open(); echo $this->block->generate_table($head, $data); echo form_close(); echo block_notice_div(lang('note') . ": " . lang('sale_input_user_notice')); ?>
*/ $head = array('<br/>'); $url = site_url('order/setting/modification_order_status'); $config_input = array('name' => 'item_no', 'id' => 'item_no', 'maxlength' => '50', 'size' => '50', 'onkeydown' => "if(event.keyCode==13) { update_order_status('{$url}'); }"); $config_button = array('name' => 'submit', 'value' => lang('modification'), 'type' => 'button', 'style' => 'margin:10px', 'onclick' => "update_order_status('{$url}');"); //echo '<pre>'; // //var_dump($this->block->generate_search_dropdown('order_status', 'order_status')); //echo '</pre>'; $html = lang('item_number'); $text = lang('clue_for_update_status'); $data[] = array('<div align="center">' . $html . ':' . form_input($config_input) . ' ' . block_button($config_button) . '<div>'); echo "<div id='search_div'>"; echo block_header(lang('modification_order_status')); echo $this->block->generate_table($head, $data); echo block_notice_div($text); echo "</div>"; ?> <script> function update_order_status(url) { var item_no = $('item_no').value; var params = {'item_no' : item_no}; this.blur(); if(confirm('此操作会直接更改数据库数据,请确认订单的后续流程并没有完成')) { helper.ajax(url, params); } }
<?php $html = ''; $url = site_url('seo/release/do_upload'); $html .= '<br/>' . block_form_uploads('userfile', $url, NULL, 'upload_csv_file'); $html .= ' ' . block_notice_div(lang('upload_csv_file_notice')); $html .= '<br/>'; $head = array(lang('upload_file')); $data = array(); $data[] = array($html); echo $error; echo block_header(lang('csv_upload')); echo block_table($head, $data);
目的仓库代码: {$list_info->storage_code} <br/> 交货日期: {$list_info->arrive_time} <br/> 海外仓储处理点: {$list_info->locale} <br/> 是否需要上门收货: {$is_collect} <br/> 收货时间: {$list_info->collect_time} <br/> 收货地址: {$list_info->collect_address} <br/> 收货联系人: {$list_info->collect_contact} <br/> 收货联系电话: {$list_info->collect_phone} <br/> 申请表状态: {$status} <br/> 备注信息: {$list_info->remark} <br/><br/> <h4> 【入库装箱信息】 </h4> {$box_and_product_html} INFO; echo block_notice_div($list_info_html); $head = array(lang('name'), lang('value')); $config = array('name' => 'case_no', 'id' => 'case_no', 'value' => isset($case_obj) ? $case_obj->case_no : (isset($case_no) ? $case_no + 1 : '1'), 'maxlength' => '50', 'size' => '50'); $data[] = array(lang('case_no'), form_input($config)); $config = array('name' => 'in_store_weight', 'id' => 'in_store_weight', 'value' => isset($case_obj) ? $case_obj->weight : '', 'maxlength' => '50', 'size' => '50'); $data[] = array(lang('in_store_weight') . '(KG)', form_input($config)); $config = array('name' => 'packing', 'id' => 'packing', 'value' => isset($case_obj) ? $case_obj->packing : '', 'maxlength' => '50', 'size' => '50'); $data[] = array(lang('packing'), form_input($config)); $title = lang('in_store_case_info'); echo '<br/>'; echo block_header($title); $attributes = array('id' => 'in_store_case_info_form'); $url = site_url('stock/abroad_stock/in_store_product'); echo form_open($url, $attributes); echo form_hidden('list_id', $list_id); echo form_hidden('case_id', isset($case_obj) ? $case_obj->id : '-1');
$rejected = '<br/>' . block_button($config_rejected); $data[] = array($this->block->generate_select_checkbox($order->id), $item_info, $order_info . "<br/>" . $ship_info, $product_info, lang($order->status_name), $order->return_remark, form_dropdown('refund_verify_type', $options, $order->refund_verify_type ? $order->refund_verify_type : (!empty($default_value_obj) ? $default_value_obj->id : ''), "id = 'refund_verify_type_{$order->id}'") . '<br/>' . form_textarea($config_content) . $confirm . $rejected, form_input($config_name), $problem_sku_html); echo $this->block->generate_ac('refund_duty_' . $order->id, array('user', 'name')); } $users = $this->user_model->fetch_users_by_system_code('order'); $user_options = array(); $user_options[''] = lang('all'); foreach ($users as $user) { $user_options[$user->login_name] = $user->u_name; } $status = array('' => lang('please_select'), '11' => lang('not_received_apply_for_partial_refund'), '13' => lang('not_received_apply_for_full_refund'), '15' => lang('not_received_apply_for_resending'), '18' => lang('received_apply_for_partial_refund'), '20' => lang('received_apply_for_full_refund'), '22' => lang('received_apply_for_resending'), '25' => lang('not_shipped_apply_for_refund')); $filters = array(NULL, array('type' => 'input', 'field' => 'item_no'), array('type' => 'input', 'field' => 'from_email|name|transaction_id|item_id_str'), array('type' => 'input', 'field' => 'sku_str|qty_str|item_title_str|item_id_str'), array('type' => 'dropdown', 'field' => 'order_status', 'options' => $status, 'method' => '='), array('type' => 'input', 'field' => 'return_remark'), NULL, NULL, NULL); echo block_header(lang('batch_auditing_order')); echo $this->block->generate_pagination('return_order_auditing'); $config = array('filters' => $filters); echo form_open(); echo $this->block->generate_reset_search($config); echo $this->block->generate_table($head, $data, $filters, 'return_order_auditing'); echo $this->block->generate_check_all(); $auditing_url = site_url('order/return_order_auditing/save_auditings'); $config = array('name' => 'order_auditing', 'id' => 'order_auditing', 'value' => lang('batch_auditing_order'), 'type' => 'button', 'onclick' => "batch_auditing_order('{$auditing_url}');"); $auditing_url_rejected = site_url('order/return_order_auditing/save_rejecteds'); $config_rejected = array('name' => 'order_rejected', 'id' => 'order_rejected', 'value' => lang('batch_rejected_order'), 'type' => 'button', 'onclick' => "batch_auditing_order('{$auditing_url_rejected}');"); $print_label = '<span style="padding-left: 20px;">'; $print_label .= block_button($config) . block_button($config_rejected); $print_label .= '</span>'; echo $print_label; echo form_close(); echo $this->block->generate_pagination('return_order_auditing'); echo block_notice_div(lang('batch_return_order_notice') . '<br/>' . lang('refund_duty_notice'));
<?php $this->load->helper('product_permission'); $this->load->model('user_model'); $html = ''; $url = site_url('shipping/deliver_management/import_shipping_cost_by_order_id'); $html .= '<br/>' . block_form_uploads('userfile', $url, NULL, 'upload_csv_file'); //$html .= ' ' . block_notice_div(lang('import_shipping_cost_note')); $html .= '<br/>'; $head = array(lang('upload_file')); $data = array(); $data[] = array(lang('import_shipping_cost_by_order_id') . ":" . $html); $html = ''; $url = site_url('shipping/deliver_management/import_shipping_cost_by_track_number'); $html .= '<br/>' . block_form_uploads('userfile', $url, NULL, 'upload_csv_file'); $html .= ' ' . block_notice_div(lang('import_shipping_cost_note')); $html .= '<br/>'; $data[] = array(lang('import_shipping_cost_by_track_number') . ":" . $html); echo $error; echo block_header(lang('import_shipping_cost')); echo block_table($head, $data); ?>