@extends('mommy.layouts.contentLayoutMaster') @section('title','銷售清單') @section('vendor-styles') @endsection @section('page-styles') @endsection @section('content') 搜尋 關鍵字 活動狀態 @if (!empty(config('activity.activity_status'))) @foreach (config('activity.activity_status') as $key => $value) input('activity_status') == (string)$key ? 'selected' : '' }} >{{ $value }} @endforeach @endif 開團時間 結團時間 年月搜尋 @php $now = \Carbon\Carbon::now(); $last_year = $now->copy()->subYears(1)->format('Y'); $now_year = $now->format('Y'); $next_year = $now->copy()->addYears(1)->format('Y'); @endphp input('publish_year') == (string)$last_year ? 'selected' : '' }} >{{ $last_year }} input('publish_year') == (string)$now_year ? 'selected' : '' }} >{{ $now_year }} input('publish_year') == (string)$next_year ? 'selected' : '' }} >{{ $next_year }} / @for ($month = 1; $month <= 12; $month++) input('publish_month') == (string)$month ? 'selected' : '' }}>{{ $month }} @endfor 列表 {{-- --}} 活動名稱 {{-- 試吃時間--}} 開團時間 結團時間 活動狀態 操作 @if ($matches->isNotEmpty()) @foreach ($matches as $match) {{ $match->activity->name }} {{-- --}} {{-- {{ $match->activity->try_out_at->format('Y-m-d H:i') }}--}} {{-- --}} {{ $match->activity->publish_start_at->format('Y-m-d H:i') }} {{ $match->activity->publish_end_at->format('Y-m-d H:i') }} {{ config('activity.activity_status')[$match->activity->activity_status] }} 取得連結 @endforeach @else @include('mommy.panels.list-no-data') @endif 取得連結 × 廣告活動來源 廣告活動媒介 廣告活動名稱 銷售頁連結 複製 銷售頁QR code {{-- qr code --}} 儲存圖片 @endsection @section('vendor-scripts') @endsection @section('page-scripts') @if ($matches->isNotEmpty()) @endif @endsection