rocket-a


git -C '/home/opc/rocketa.git' show 33978f1 -- resources/views/media/general/achieve/list.blade.php

commit 33978f1b6bf3c16c62ee295347b2efc9bc751019
Author: Satoshi Ujihara <satoshi_ujihara@fivegate.jp>
Date:   Fri Oct 10 19:28:43 2025 +0900

    no message

diff --git a/resources/views/media/general/achieve/list.blade.php b/resources/views/media/general/achieve/list.blade.php
index cf5f032..4d9dcc1 100644
--- a/resources/views/media/general/achieve/list.blade.php
+++ b/resources/views/media/general/achieve/list.blade.php
@@ -9,12 +9,12 @@
 
 {{-- コンテンツ内容 .main_col内 --}}
 @section('content')
-    <h2 class="mb-3 pb-2 border-bottom">成果管理 - 成果一覧</h2>
+    <h2 class="mb-3 pb-2 border-bottom">{{__('achieve-list.performance-management')}} - {{__('achieve-list.performance-list')}}</h2>
 
     <div class="accordion mb-3" id="accordion" role="tablist">
         <div class="card-header p-0 bg-dark" role="tab" id="heading1">
             <h5 class="mb-0 position-relative">
-                <a data-bs-toggle="collapse" class="text-decoration-none text-white vector_icon" href="{{ url('#collapse') }}" aria-expanded="true" aria-controls="collapse">検索</a>
+                <a data-bs-toggle="collapse" class="text-decoration-none text-white vector_icon" href="{{ url('#collapse') }}" aria-expanded="true" aria-controls="collapse">{{__('achieve-list.search')}}</a>
             </h5>
         </div>
 
@@ -25,7 +25,7 @@
                         <div class="form_box border mb-2">
                             <div class="form-group row m-0 border-bottom">
                                 <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                                    {{ Form::label('','運営会社', ['class'=>'px-2 col-form-label']) }}
+                                    {{ Form::label('',__('achieve-list.operating-company'), ['class'=>'px-2 col-form-label']) }}
                                 </div>
 
                                 <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -37,7 +37,7 @@
 
                             <div class="form-group row m-0 border-bottom">
                                 <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                                    {{ Form::label('','メディア', ['class'=>'px-2 col-form-label']) }}
+                                    {{ Form::label('',__('achieve-list.media'), ['class'=>'px-2 col-form-label']) }}
                                 </div>
 
                                 <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -49,7 +49,7 @@
 
                             <div class="form-group row m-0 border-bottom">
                                 <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                                    {{ Form::label('','広告名', ['class'=>'px-2 col-form-label']) }}
+                                    {{ Form::label('',__('achieve-list.ad-name'), ['class'=>'px-2 col-form-label']) }}
                                 </div>
 
                                 <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -61,7 +61,7 @@
 
                             <div class="form-group row m-0 border-bottom">
                                 <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                                    {{ Form::label('','広告ID', ['class'=>'px-2 col-form-label']) }}
+                                    {{ Form::label('',__('achieve-list.ad-id'), ['class'=>'px-2 col-form-label']) }}
                                 </div>
 
                                 <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -73,7 +73,7 @@
 
                             <div class="form-group row m-0 border-bottom">
                                 <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                                    {{ Form::label('','広告素材', ['class'=>'px-2 col-form-label']) }}
+                                    {{ Form::label('',__('achieve-list.ad-material'), ['class'=>'px-2 col-form-label']) }}
                                 </div>
 
                                 <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -85,7 +85,7 @@
 
                             <div class="form-group row m-0 border-bottom">
                                 <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                                    {{ Form::label('','成果発生日', ['class'=>'px-2 col-form-label']) }}
+                                    {{ Form::label('',__('achieve-list.conversion-date'), ['class'=>'px-2 col-form-label']) }}
                                 </div>
 
                                 <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -104,52 +104,52 @@
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('action_date_type', 0, (!$conditions['action_date_type'] || $conditions['action_date_type'] ==  0), ['id'=>'search_form_radio_1_0', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_1_0', '未参照', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_1_0', __('achieve-list.unviewed'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('action_date_type', 1, ($conditions['action_date_type'] == 1), ['id'=>'search_form_radio_1_1', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_1_1', '上記期間', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_1_1', __('achieve-list.above-period'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('action_date_type', 2, ($conditions['action_date_type'] == 2), ['id'=>'search_form_radio_1_2', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_1_2', '今月', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_1_2', __('achieve-list.this-month'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('action_date_type', 3, ($conditions['action_date_type'] == 3), ['id'=>'search_form_radio_1_3', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_1_3', '先月', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_1_3', __('achieve-list.last-month'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('action_date_type', 4, ($conditions['action_date_type'] == 4), ['id'=>'search_form_radio_1_4', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_1_4', '今日', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_1_4', __('achieve-list.today'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('action_date_type', 5, ($conditions['action_date_type'] == 5), ['id'=>'search_form_radio_1_5', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_1_5', '昨日', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_1_5', __('achieve-list.yesterday'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('action_date_type', 6, ($conditions['action_date_type'] == 6), ['id'=>'search_form_radio_1_6', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_1_6', '過去7日', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_1_6', __('achieve-list.past-7-days'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('action_date_type', 7, ($conditions['action_date_type'] == 7), ['id'=>'search_form_radio_1_7', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_1_7', '過去30日', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_1_7', __('achieve-list.past-30-days'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('action_date_type', 8, ($conditions['action_date_type'] == 8), ['id'=>'search_form_radio_1_8', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_1_8', '過去60日', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_1_8', __('achieve-list.past-60-days'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('action_date_type', 9, ($conditions['action_date_type'] == 9), ['id'=>'search_form_radio_1_9', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_1_9', '過去90日', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_1_9', __('achieve-list.past-90-days'), ['class'=>'form-check-label']) }}
                                         </div>
                                     </div>
                                 </div>
@@ -157,7 +157,7 @@
 
                             <div class="form-group row m-0 border-bottom">
                                 <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                                    {{ Form::label('','成果確定日', ['class'=>'px-2 col-form-label']) }}
+                                    {{ Form::label('',__('achieve-list.confirmation-date'), ['class'=>'px-2 col-form-label']) }}
                                 </div>
 
                                 <div class="col-sm-10 px-0 d-flex align-items-center">
@@ -176,52 +176,52 @@
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('fixed_date_type', 0, (!$conditions['fixed_date_type'] || $conditions['fixed_date_type'] ==  0), ['id'=>'search_form_radio_1_0', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_1_0', '未参照', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_1_0', __('achieve-list.unviewed'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('fixed_date_type', 1, ($conditions['fixed_date_type'] == 1), ['id'=>'search_form_radio_2_1', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_2_1', '上記期間', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_2_1', __('achieve-list.above-period'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('fixed_date_type', 2, ($conditions['fixed_date_type'] == 2), ['id'=>'search_form_radio_2_2', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_2_2', '今月', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_2_2', __('achieve-list.this-month'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('fixed_date_type', 3, ($conditions['fixed_date_type'] == 3), ['id'=>'search_form_radio_2_3', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_2_3', '先月', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_2_3', __('achieve-list.last-month'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('fixed_date_type', 4, ($conditions['fixed_date_type'] == 4), ['id'=>'search_form_radio_2_4', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_2_4', '今日', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_2_4', __('achieve-list.today'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('fixed_date_type', 5, ($conditions['fixed_date_type'] == 5), ['id'=>'search_form_radio_2_5', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_2_5', '昨日', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_2_5', __('achieve-list.yesterday'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('fixed_date_type', 6, ($conditions['fixed_date_type'] == 6), ['id'=>'search_form_radio_2_6', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_2_6', '過去7日', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_2_6', __('achieve-list.past-7-days'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('fixed_date_type', 7, ($conditions['fixed_date_type'] == 7), ['id'=>'search_form_radio_2_7', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_2_7', '過去30日', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_2_7', __('achieve-list.past-30-days'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('fixed_date_type', 8, ($conditions['fixed_date_type'] == 8), ['id'=>'search_form_radio_2_8', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_2_8', '過去60日', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_2_8', __('achieve-list.past-60-days'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::radio('fixed_date_type', 9, ($conditions['fixed_date_type'] == 9), ['id'=>'search_form_radio_2_9', 'class'=>'form-check-input']) }}
-                                            {{ Form::label('search_form_radio_2_9', '過去90日', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_radio_2_9', __('achieve-list.past-90-days'), ['class'=>'form-check-label']) }}
                                         </div>
                                     </div>
                                 </div>
@@ -229,24 +229,24 @@
 
                             <div class="form-group row m-0 border-bottom">
                                 <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                                    {{ Form::label('','承認状態', ['class'=>'px-2 col-form-label']) }}
+                                    {{ Form::label('',__('achieve-list.approval-status'), ['class'=>'px-2 col-form-label']) }}
                                 </div>
 
                                 <div class="col-sm-10 px-0 d-flex align-items-center">
                                     <div class="p-2 w-100">
                                         <div class="form-check form-check-inline">
                                             {{ Form::checkbox('status[]', 1, (in_array(1, $conditions['status'])), ['class'=>'form-check-input', 'id'=>'search_form_check_1_1'])}}
-                                            {{ Form::label('search_form_check_1_1', '承認', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_check_1_1', __('achieve-list.approved'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::checkbox('status[]', 2, (in_array(2, $conditions['status'])), ['class'=>'form-check-input', 'id'=>'search_form_check_1_2'])}}
-                                            {{ Form::label('search_form_check_1_2', '無効', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_check_1_2', __('achieve-list.invalid'), ['class'=>'form-check-label']) }}
                                         </div>
 
                                         <div class="form-check form-check-inline">
                                             {{ Form::checkbox('status[]', 0, (in_array(0, $conditions['status'])), ['class'=>'form-check-input', 'id'=>'search_form_check_1_3'])}}
-                                            {{ Form::label('search_form_check_1_3', '承認待ち', ['class'=>'form-check-label']) }}
+                                            {{ Form::label('search_form_check_1_3', __('achieve-list.pending-approval'), ['class'=>'form-check-label']) }}
                                         </div>
                                     </div>
                                 </div>
@@ -278,15 +278,15 @@
 
                             <div class="form-group row m-0">
                                 <div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
-                                    {{ Form::label('','表示件数', ['class'=>'px-2 col-form-label']) }}
+                                    {{ Form::label('',__('achieve-list.display-count'), ['class'=>'px-2 col-form-label']) }}
                                 </div>
 
                                 <div class="col-sm-10 px-0 d-flex align-items-center">
                                     <div class="p-2 w-100">
                                         {{ Form::select('count', [
-                                            20 => '20件',
-                                            50 => '50件',
-                                            100 => '100件'],
+                                            20 => '20'.__('achieve-list.items'),
+                                            50 => '50'.__('achieve-list.items'),
+                                            100 => '100'.__('achieve-list.items')],
                                             $conditions['count'], ['class'=>'form-select']
                                         )}}
                                     </div>
@@ -296,13 +296,13 @@
 
                         <div class="row mx-0 mb-3 justify-content-end w-100">
                             <div class="col-md-2 p-0">
-                                {{ Form::reset('条件を解除', ['class'=>'btn btn-secondary w-100']) }}
+                                {{ Form::reset(__('achieve-list.clear-filters'), ['class'=>'btn btn-secondary w-100']) }}
                             </div>
                         </div>
 
                         <div class="row mx-0 justify-content-center w-100">
                             <div class="col-md-8 p-0">
-                                {{ Form::submit('検索', ['class'=>'btn btn-primary btn-lg w-100']) }}
+                                {{ Form::submit(__('achieve-list.search'), ['class'=>'btn btn-primary btn-lg w-100']) }}
                             </div>
                         </div>
 
@@ -320,14 +320,14 @@
             <div class="area_btn">
                 <div class="row mx-0 mb-3 justify-content-start">
                     <div class="col-lg-2 col-md-3 col-sm-4 p-0">
-                        {{ Form::button('結果をCSVでDL', ['class'=>'btn btn-secondary w-100 get_csv']) }}
+                        {{ Form::button(__('achieve-list.download-results-csv'), ['class'=>'btn btn-secondary w-100 get_csv']) }}
                     </div>
                 </div>
             </div>
         @endif
 
         <div class="form_box border mb-3">
-            <h5 class="mb-0 text-white bg-dark form_head">成果一覧</h5>
+            <h5 class="mb-0 text-white bg-dark form_head">{{__('achieve-list.performance-list')}}</h5>
 
             @if (count($result_datas) > 0)
                 <div class="inner_box" style="padding-bottom: 0.75rem;">
@@ -355,11 +355,11 @@
                                 </th>
 
                                 <th class="align-middle" scope="col">
-                                    <span class="d-block text-center">&emsp;&emsp;&emsp;&emsp;広告名&emsp;&emsp;&emsp;&emsp;</span>
+                                    <span class="d-block text-center">&emsp;&emsp;&emsp;&emsp;{{__('achieve-list.ad-name')}}&emsp;&emsp;&emsp;&emsp;</span>
                                 </th>
 
                                 <th class="align-middle" scope="col" style="width: 15%;">
-                                    <span class="d-block text-center">メディア</span>
+                                    <span class="d-block text-center">{{__('achieve-list.media')}}</span>
                                 </th>
 
                                 <th class="align-middle" scope="col" style="width: 10%;">
@@ -367,7 +367,7 @@
                                 </th>
 
                                 <th class="align-middle" scope="col" style="width: 10%;">
-                                    <span class="d-block text-center">成果報酬</span>
+                                    <span class="d-block text-center">{{__('achieve-list.performance-reward')}}</span>
                                 </th>
                                 
                                 <th class="align-middle" scope="col" style="width: 10%;">
@@ -375,15 +375,15 @@
                                 </th>
 
                                 <th class="align-middle" scope="col" style="width: 10%;">
-                                    <span class="d-block text-center">承認状態</span>
+                                    <span class="d-block text-center">{{__('achieve-list.approval-status')}}</span>
                                 </th>
 
                                 <th class="align-middle" scope="col" style="width: 10%;">
-                                    <span class="d-block text-center">成果発生日時</span>
+                                    <span class="d-block text-center">{{__('achieve-list.occurrence-datetime')}}</span>
                                 </th>
 
                                 <th class="align-middle" scope="col" style="width: 10%;">
-                                    <span class="d-block text-center">成果確定日時</span>
+                                    <span class="d-block text-center">{{__('achieve-list.confirmation-datetime')}}</span>
                                 </th>
 
                                 <th scope="col" style="width: 15%">&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;</th>
@@ -396,7 +396,7 @@
                                 <?php
                                 $ad_name = '';
                                 if (isset($investigation[$key]) && $investigation[$key]) {
-                                    $ad_name = '【成果調査回答分】';
+                                    $ad_name = '【'.__('achieve-list.performance-survey-response').'】';
                                 }
                                 $ad_name .= $result_data['ad_name'];
                                 ?>
@@ -418,7 +418,7 @@
                                     </td>
 
                                     <td class="align-middle text-break text-end">
-                                        {{ number_format($result_data['net_reward']) }}円
+                                        {{ number_format($result_data['net_reward']) }}{{__('achieve-list.jpy')}}
                                     </td>
                                     
                                     <td class="align-middle text-center">
@@ -427,11 +427,11 @@
 
                                     <td class="align-middle text-center">
                                         @if ($result_data['status'] == 0)
-                                            未承認
+                                            {{__('achieve-list.unapproved')}}
                                         @elseif ($result_data['status'] == 1)
-                                            承認
+                                            {{__('achieve-list.approved')}}
                                         @elseif ($result_data['status'] == 2)
-                                            否認
+                                            {{__('achieve-list.denied')}}
                                         @endif
                                     </td>
 
@@ -444,7 +444,7 @@
                                     </td>
 
                                     <td class="align-middle">
-                                        <a href="{{ url('/general/achieve/detail/'.$result_data['result_id']) }}" class="btn btn-secondary btn-sm text-white w-100" target="_blank">詳細</a>
+                                        <a href="{{ url('/general/achieve/detail/'.$result_data['result_id']) }}" class="btn btn-secondary btn-sm text-white w-100" target="_blank">{{__('achieve-list.details')}}</a>
                                     </td>
                                 </tr>
                             @endforeach
@@ -470,8 +470,7 @@
             @else
                 {{-- 検索0件時 --}}
                 <div class="inner_box text-center">
-                    該当データはありません。<br>
-                    条件を変更して検索してください。
+                    {!!__('achieve-list.no-matching-data')!!}
                 </div>
             @endif
         </div><!-- /.form_box -->

diff.txt · 最終更新: by root