-
-
-
-
-
+ @if (count($orders))
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
+
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
- | {{ __('order.id') }} |
- {{ __('order.number') }} |
- {{ __('order.customer_name') }} |
- {{ __('order.payment_method') }} |
- {{ __('order.status') }} |
- {{ __('order.total') }} |
- {{ __('order.created_at') }} |
- {{ __('order.updated_at') }} |
- {{ __('common.action') }} |
-
-
-
- @foreach ($orders as $order)
+
+
- | {{ $order->id }} |
- {{ $order->number }} |
- {{ sub_string($order->customer_name, 14) }} |
- {{ $order->payment_method_name }} |
- {{ $order->status_format }} |
- {{ $order->total_format }} |
- {{ $order->created_at }} |
- {{ $order->updated_at }} |
- 查看
- |
+ {{ __('order.id') }} |
+ {{ __('order.number') }} |
+ {{ __('order.customer_name') }} |
+ {{ __('order.payment_method') }} |
+ {{ __('order.status') }} |
+ {{ __('order.total') }} |
+ {{ __('order.created_at') }} |
+ {{ __('order.updated_at') }} |
+ {{ __('common.action') }} |
- @endforeach
-
-
-
- {{ $orders->withQueryString()->links('admin::vendor/pagination/bootstrap-4') }}
+
+
+ @foreach ($orders as $order)
+
+ | {{ $order->id }} |
+ {{ $order->number }} |
+ {{ sub_string($order->customer_name, 14) }} |
+ {{ $order->payment_method_name }} |
+ {{ $order->status_format }} |
+ {{ $order->total_format }} |
+ {{ $order->created_at }} |
+ {{ $order->updated_at }} |
+ 查看
+ |
+
+ @endforeach
+
+
+ {{ $orders->withQueryString()->links('admin::vendor/pagination/bootstrap-4') }}
+ @else
+
+ @endif
@endsection
diff --git a/resources/beike/admin/views/pages/rmas/index.blade.php b/resources/beike/admin/views/pages/rmas/index.blade.php
index 24ce82db..591c6f8c 100644
--- a/resources/beike/admin/views/pages/rmas/index.blade.php
+++ b/resources/beike/admin/views/pages/rmas/index.blade.php
@@ -3,46 +3,48 @@
@section('title', '售后申请列表')
@section('content')
-
-
-
-
-
- | 客户姓名 |
- 邮箱 |
- 电话号码 |
- 商品 |
- 商品型号 |
- 数量 |
- 服务类型 |
- 状态 |
- 操作 |
-
-
-
- @foreach ($rmas as $rma)
-
- | {{ $rma->name }} |
- {{ $rma->email }} |
- {{ $rma->telephone }} |
- {{ $rma->product_name }} |
- {{ $rma->model }} |
- {{ $rma->quantity }} |
- {{ $rma->type }} |
- {{ $rma->status }} |
- 查看 |
-
- @endforeach
-
-
-
- {{ $rmas->links('admin::vendor/pagination/bootstrap-4') }}
-
+
+
+ @if (count($rmas))
+
+
+
+ | 客户姓名 |
+ 邮箱 |
+ 电话号码 |
+ 商品 |
+ 商品型号 |
+ 数量 |
+ 服务类型 |
+ 状态 |
+ 操作 |
+
+
+
+ @foreach ($rmas as $rma)
+
+ | {{ $rma->name }} |
+ {{ $rma->email }} |
+ {{ $rma->telephone }} |
+ {{ $rma->product_name }} |
+ {{ $rma->model }} |
+ {{ $rma->quantity }} |
+ {{ $rma->type }} |
+ {{ $rma->status }} |
+ 查看
+ |
+
+ @endforeach
+
+
+ {{ $rmas->links('admin::vendor/pagination/bootstrap-4') }}
+ @else
+
+ @endif
+
@endsection
@push('footer')
-
+
@endpush
diff --git a/resources/lang/en/common.php b/resources/lang/en/common.php
index 540539b0..d5742dd2 100644
--- a/resources/lang/en/common.php
+++ b/resources/lang/en/common.php
@@ -15,6 +15,7 @@ return [
'error_required_email' => 'Please enter your email',
'unauthenticated' => 'Please login first',
'success' => 'Success',
+ 'no_data' => 'No data~',
'created_success' => 'Created Successfully!',
'deleted_success' => 'Deleted Successfully!',
'restored_success' => 'Restore Successfully!',
diff --git a/resources/lang/zh_cn/common.php b/resources/lang/zh_cn/common.php
index f10f3411..f471d6bf 100644
--- a/resources/lang/zh_cn/common.php
+++ b/resources/lang/zh_cn/common.php
@@ -14,6 +14,7 @@ return [
'error_required_email' => '请填写邮箱',
'unauthenticated' => '请先登录',
'success' => '成功',
+ 'no_data' => '暂无数据~',
'created_success' => '创建成功!',
'deleted_success' => '删除成功!',
'restored_success' => '恢复成功!',