git -C '/home/opc/rocketa.git' show 09cc738 -- resources/views/client/general/achieve/list.blade.phpcommit 09cc738e17d1ad148bf2243e1f04aefe8cde1fc5
Author: Satoshi Ujihara <satoshi_ujihara@fivegate.jp>
Date: Thu Oct 9 10:19:51 2025 +0900
翻訳機能追加+成果受け取りの余計な機能を削除
diff --git a/resources/views/client/general/achieve/list.blade.php b/resources/views/client/general/achieve/list.blade.php
index f2c7f20..2503c5b 100644
--- a/resources/views/client/general/achieve/list.blade.php
+++ b/resources/views/client/general/achieve/list.blade.php
@@ -9,7 +9,7 @@
{{-- コンテンツ内容 .main_col内 --}}
@section('content')
- <h2 class="mb-3 pb-2 border-bottom">成果管理 - 成果一覧</h2>
+ <h2 class="mb-3 pb-2 border-bottom">{{__('general-achieve-list.campaign-results')}} - {{__('general-achieve-list.campaign-results-list')}}</h2>
<div class="accordion mb-3" id="accordion" role="tablist">
<div class="card-header p-0 bg-dark" role="tab" id="heading1">
@@ -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('',__('general-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('',__('general-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('',__('general-achieve-list.advertiser'), ['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('','広告名', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('',__('general-achieve-list.ad-name'), ['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('','広告ID', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('',__('general-achieve-list.ad-id'), ['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('',__('general-achieve-list.ad-creative'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -97,7 +97,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('',__('general-achieve-list.campaign-results'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -116,52 +116,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', __('general-achieve-list.not-referenced'), ['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', __('general-achieve-list.selected-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', __('general-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', __('general-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', __('general-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', __('general-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', __('general-achieve-list.last-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', __('general-achieve-list.last-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', __('general-achieve-list.last-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', __('general-achieve-list.last-90-days'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -169,7 +169,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('',__('general-achieve-list.confirmation-date'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -188,52 +188,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_2_0', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_2_0', '未参照', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_2_0', __('general-achieve-list.not-referenced'), ['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', __('general-achieve-list.selected-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', __('general-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', __('general-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', __('general-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', __('general-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', __('general-achieve-list.last-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', __('general-achieve-list.last-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', __('general-achieve-list.last-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', __('general-achieve-list.last-90-days'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -241,24 +241,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('',__('general-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', __('general-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', __('general-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', __('general-achieve-list.pending-approval'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -290,15 +290,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('',__('general-achieve-list.items-per-page'), ['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'.__('general-achieve-list.count'),
+ 50 => '50'.__('general-achieve-list.count'),
+ 100 => '100'.__('general-achieve-list.count'),],
$conditions['count'], ['class'=>'form-select']
)}}
</div>
@@ -308,13 +308,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(__('general-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(__('general-achieve-list.search'), ['class'=>'btn btn-primary btn-lg w-100']) }}
</div>
</div>
@@ -331,7 +331,7 @@
<div class="area_btn">
<div class="row mx-0 mb-1 justify-content-start">
<div class="col-lg-2 col-sm-3 mb-2 p-0">
- {{ Form::button('結果をCSVでDL', ['class'=>'btn btn-secondary w-100 get_csv']) }}
+ {{ Form::button(__('general-achieve-list.download-results-csv'), ['class'=>'btn btn-secondary w-100 get_csv']) }}
</div>
</div>
</div>
@@ -347,7 +347,7 @@
</div>
<div class="col-lg-2 col-sm-3 mb-2 p-0">
- {{ Form::button('CSVインポート', ['class'=>'btn px-0 btn-secondary w-100 csv_import upload_btn']) }}
+ {{ Form::button(__('general-achieve-list.csv-import'), ['class'=>'btn px-0 btn-secondary w-100 csv_import upload_btn']) }}
</div>
</div>
@@ -359,9 +359,9 @@
@endif
<?php
- if (isset($_GET['import'])) {
- echo 'CSVインポート完了しました';
- }
+ if (isset($_GET['import'])) {?>
+{{__('general-achieve-list.csv-import-completed')}}
+ <?php }
?>
</div>
@endif
@@ -370,20 +370,20 @@
@if (count($result_datas) > 0)
{{ Form::open(['id'=>'action']) }}
<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">{{__('general-achieve-list.campaign-results-list')}}</h5>
<div class="inner_box" style="padding-bottom: 0.75rem;">
<div class="row mx-0 justify-content-start align-items-center">
<div class="col-sm-6 col-lg-3 px-1">
- {{ Form::button('選択リストをチェック', ['class'=>'btn btn-secondary mb-2 w-100 all_chk']) }}
+ {{ Form::button(__('general-achieve-list.check-selected-list'), ['class'=>'btn btn-secondary mb-2 w-100 all_chk']) }}
</div>
<div class="col-sm-6 col-lg-3 px-1">
- {{ Form::button('選択リストを承認', ['class'=>'btn btn-secondary mb-2 w-100 on-fixed']) }}
+ {{ Form::button(__('general-achieve-list.approve-selected-list'), ['class'=>'btn btn-secondary mb-2 w-100 on-fixed']) }}
</div>
<div class="col-sm-6 col-lg-3 px-1 text-nowrap">
- {{ Form::button('選択リストをキャンセルに変更', ['class'=>'btn btn-secondary mb-2 px-0 w-100 on-cancel']) }}
+ {{ Form::button(__('general-achieve-list.change-selected-list-to-cancel'), ['class'=>'btn btn-secondary mb-2 px-0 w-100 on-cancel']) }}
</div>
</div>
@@ -413,11 +413,11 @@
</th>
<th class="align-middle" scope="col" style="width: 30%;">
- <span class="d-block text-center">   広告名   </span>
+ <span class="d-block text-center">   {{__('general-achieve-list.ad-name')}}   </span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">  メディア  </span>
+ <span class="d-block text-center">  {{__('general-achieve-list.media')}}  </span>
</th>
<th class="align-middle" scope="col" style="width: 10%;">
@@ -429,7 +429,7 @@
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">成果報酬</span>
+ <span class="d-block text-center">{{__('general-achieve-list.performance-reward')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 10%;">
@@ -437,15 +437,15 @@
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">承認状態</span>
+ <span class="d-block text-center">{{__('general-achieve-list.approval-status')}}</span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">  成果発生日時  </span>
+ <span class="d-block text-center">  {{__('general-achieve-list.conversion-datetime')}}  </span>
</th>
<th class="align-middle" scope="col">
- <span class="d-block text-center">  成果確定日時  </span>
+ <span class="d-block text-center">  {{__('general-achieve-list.confirmation-datetime')}}  </span>
</th>
</tr>
</thead>
@@ -455,7 +455,7 @@
<?php
$ad_name = '';
if (isset($investigation[$key]) && $investigation[$key]) {
- $ad_name = '【成果調査回答分】';
+ $ad_name = '【'.__('general-achieve-list.survey-response').'】';
}
$ad_name .= $result_data['ad_name'];
?>
@@ -463,7 +463,7 @@
<td class="align-middle" style="width: 3%">
<div class="form-check form-check-inline m-0 p-0">
{{ Form::checkbox('result_id[]', $result_data->result_id, null, ['class'=>'form-check-input m-0 list_chk', 'id'=>'table_check_'.$key])}}
- {{ Form::label('table_check_'.$key, '<span class="sr-only">リストチェック</span>', ['class'=>'form-check-label cell_check'], false) }}
+ {{ Form::label('table_check_'.$key, '<span class="sr-only">'.__('general-achieve-list.list-check').'</span>', ['class'=>'form-check-label cell_check'], false) }}
</div>
</td>
@@ -488,7 +488,7 @@
</td>
<td class="align-middle text-break text-end">
- {{ number_format($result_data->gross_reward) }}円
+ {{ number_format($result_data->gross_reward) }}{{__('general-achieve-list.jpy')}}
</td>
<td class="align-middle text-center">
@@ -497,11 +497,11 @@
<td class="align-middle text-center">
@if ($result_data->status == 1)
- 承認
+ {{__('general-achieve-list.approved')}}
@elseif ($result_data->status == 2)
- 否認
+ {{__('general-achieve-list.denied')}}
@else
- 承認待ち
+ {{__('general-achieve-list.pending-approval')}}
@endif
</td>
@@ -521,15 +521,15 @@
<div class="inner_box" style="padding-bottom: 0.75rem;">
<div class="row mx-0 justify-content-start align-items-center">
<div class="col-sm-6 col-lg-3 px-1">
- {{ Form::button('選択リストをチェック', ['class'=>'btn btn-secondary mb-2 w-100 all_chk']) }}
+ {{ Form::button(__('general-achieve-list.check-selected-list'), ['class'=>'btn btn-secondary mb-2 w-100 all_chk']) }}
</div>
<div class="col-sm-6 col-lg-3 px-1">
- {{ Form::button('選択リストを承認', ['class'=>'btn btn-secondary mb-2 w-100 on-fixed']) }}
+ {{ Form::button(__('general-achieve-list.approve-selected-list'), ['class'=>'btn btn-secondary mb-2 w-100 on-fixed']) }}
</div>
<div class="col-sm-6 col-lg-3 px-1 text-nowrap">
- {{ Form::button('選択リストをキャンセルに変更', ['class'=>'btn btn-secondary mb-2 px-0 w-100 on-cancel']) }}
+ {{ Form::button(__('general-achieve-list.change-selected-list-to-cancel'), ['class'=>'btn btn-secondary mb-2 px-0 w-100 on-cancel']) }}
</div>
</div>
@@ -555,8 +555,8 @@
{{-- 検索0件時 --}}
<div class="form_box border">
<div class="inner_box text-center bo">
- 該当データはありません。<br>
- 条件を変更して検索してください。
+{!!__('general-achieve-list.no-matching-data')!!}
+
</div>
</div>
@endif