售后原因多语言
This commit is contained in:
parent
a74e52eb4f
commit
4396b1f133
|
|
@ -51,7 +51,7 @@ class Sidebar extends Component
|
|||
foreach ($routes as $route) {
|
||||
$this->addLink($route['route'], $route['icon'] ?? '', $this->equalRoute($route['route']), (bool)($route['blank'] ?? false));
|
||||
}
|
||||
} elseif (Str::startsWith($routeName, ['orders.', 'rmas.'])) {
|
||||
} elseif (Str::startsWith($routeName, ['orders.', 'rmas.', 'rma_reasons.'])) {
|
||||
$routes = $this->getOrderSubRoutes();
|
||||
foreach ($routes as $route) {
|
||||
$this->addLink($route['route'], $route['icon'] ?? '', $this->equalRoute($route['route']), (bool)($route['blank'] ?? false));
|
||||
|
|
@ -152,6 +152,7 @@ class Sidebar extends Component
|
|||
$routes = [
|
||||
['route' => 'orders.index', 'icon' => 'fa fa-tachometer-alt'],
|
||||
['route' => 'rmas.index', 'icon' => 'fa fa-tachometer-alt'],
|
||||
['route' => 'rma_reasons.index', 'icon' => 'fa fa-tachometer-alt'],
|
||||
];
|
||||
return hook_filter('sidebar.order_routes', $routes);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
@extends('admin::layouts.master')
|
||||
|
||||
@section('title', '退换货原因')
|
||||
@section('title', __('admin/common.rma_reasons_index'))
|
||||
|
||||
@section('content')
|
||||
<div id="tax-classes-app" class="card" v-cloak>
|
||||
|
|
@ -73,7 +73,7 @@
|
|||
{{-- {{ $languages->links('admin::vendor/pagination/bootstrap-4') }} --}}
|
||||
</div>
|
||||
|
||||
<el-dialog title="退换货原因" :visible.sync="dialog.show" width="500px"
|
||||
<el-dialog title="{{ __('admin/common.rma_reasons_index') }}" :visible.sync="dialog.show" width="500px"
|
||||
@close="closeCustomersDialog('form')" :close-on-click-modal="false">
|
||||
|
||||
<el-form ref="form" :rules="rules" :model="dialog.form" label-width="100px">
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@ return [
|
|||
'brands_index' => 'Brands',
|
||||
'orders_index' => 'Orders',
|
||||
'rmas_index' => 'RMA',
|
||||
'rma_reasons_index' => 'Rma Reasons',
|
||||
'customers_index' => 'Customers',
|
||||
'customer_groups_index' => 'Customer Groups',
|
||||
'countries_index' => 'Countries',
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@ return [
|
|||
'brands_index' => '商品品牌',
|
||||
'orders_index' => '订单列表',
|
||||
'rmas_index' => '售后管理',
|
||||
'rma_reasons_index' => '售后原因',
|
||||
'customers_index' => '客户列表',
|
||||
'customer_groups_index' => '客户组',
|
||||
'countries_index' => '国家管理',
|
||||
|
|
|
|||
Loading…
Reference in New Issue