git -C '/home/opc/rocketa.git' show 33978f1 -- resources/views/media/general/report/posting.blade.phpcommit 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/report/posting.blade.php b/resources/views/media/general/report/posting.blade.php
index ad9b1b2..287980c 100644
--- a/resources/views/media/general/report/posting.blade.php
+++ b/resources/views/media/general/report/posting.blade.php
@@ -9,20 +9,20 @@
{{-- コンテンツ内容 .main_col内 --}}
@section('content')
- <h2 class="mb-3 pb-2 border-bottom">レポート管理 - 掲載レポート</h2>
+ <h2 class="mb-3 pb-2 border-bottom">{{__('repot-posting.report-management')}} - {{__('repot-posting.placement-report')}}</h2>
<div class="area_btn ">
<div class="row mx-0 mb-3 justify-content-start">
<div class="col-lg-2 col-sm-3 p-0">
- <a href="{{ url('/general/report/monthly') }}" class="btn btn-secondary px-1 w-100">月別</a>
+ <a href="{{ url('/general/report/monthly') }}" class="btn btn-secondary px-1 w-100">{{__('repot-posting.monthly')}}</a>
</div>
<div class="col-lg-2 col-sm-3 p-0 center_btn">
- <a href="{{ url('/general/report/daily') }}" class="btn btn-secondary w-100">日別</a>
+ <a href="{{ url('/general/report/daily') }}" class="btn btn-secondary w-100">{{__('repot-posting.daily')}}</a>
</div>
<div class="col-lg-2 col-sm-3 p-0">
- <a href="{{ url('/general/report/posting') }}" class="btn btn-primary w-100">掲載</a>
+ <a href="{{ url('/general/report/posting') }}" class="btn btn-primary w-100">{{__('repot-posting.placement')}}</a>
</div>
</div>
</div>
@@ -30,7 +30,7 @@
<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">{{__('repot-posting.search')}}</a>
</h5>
</div>
@@ -41,24 +41,24 @@
<div class="form_box border mb-3">
<div class="form-group row m-0 border-bottom">
<div class="col-md-3 col-lg-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', 'レポート対象', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('repot-posting.report-target'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-9 col-lg-10 px-0 d-flex align-items-center">
<div class="p-2 w-100">
<div class="form-check form-check-inline">
{{ Form::radio('kye_type', 1, ($conditions['kye_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', __('repot-posting.ad'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('kye_type', 2, ($conditions['kye_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', __('repot-posting.by-ad-material'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('kye_type', 4, ($conditions['kye_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', __('repot-posting.by-media'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -66,7 +66,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-md-3 col-lg-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '発生期間絞り込み', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('repot-posting.filter-by-occurrence-period'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-9 col-lg-10 px-0 d-flex align-items-center">
@@ -85,42 +85,42 @@
<div class="form-check form-check-inline">
{{ Form::radio('target_date_type', 1, ($conditions['target_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', __('repot-posting.above-period'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_date_type', 2, ($conditions['target_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', __('repot-posting.this-month'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_date_type', 3, ($conditions['target_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', __('repot-posting.last-month'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_date_type', 4, ($conditions['target_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', __('repot-posting.today'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_date_type', 5, ($conditions['target_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', __('repot-posting.yesterday'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_date_type', 6, ($conditions['target_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', __('repot-posting.past-7-days'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_date_type', 7, ($conditions['target_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', __('repot-posting.past-30-days'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_date_type', 8, ($conditions['target_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', __('repot-posting.past-60-days'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -128,7 +128,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-md-3 col-lg-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '確定期間絞り込み', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('repot-posting.filter-by-confirmation-period'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-9 col-lg-10 px-0 d-flex align-items-center">
@@ -147,42 +147,42 @@
<div class="form-check form-check-inline">
{{ Form::radio('target_fixed_date_type', 1, ($conditions['target_fixed_date_type'] == 1), ['id'=>'search_form_radio_3_1', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_1', '上記期間', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_1', __('repot-posting.above-period'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_fixed_date_type', 2, ($conditions['target_fixed_date_type'] == 2), ['id'=>'search_form_radio_3_2', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_2', '今月', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_2', __('repot-posting.this-month'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_fixed_date_type', 3, ($conditions['target_fixed_date_type'] == 3), ['id'=>'search_form_radio_3_3', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_3', '先月', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_3', __('repot-posting.last-month'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_fixed_date_type', 4, ($conditions['target_fixed_date_type'] == 4), ['id'=>'search_form_radio_3_4', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_4', '今日', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_4', __('repot-posting.today'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_fixed_date_type', 5, ($conditions['target_fixed_date_type'] == 5), ['id'=>'search_form_radio_3_5', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_5', '昨日', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_5', __('repot-posting.yesterday'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_fixed_date_type', 6, ($conditions['target_fixed_date_type'] == 6), ['id'=>'search_form_radio_3_6', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_6', '過去7日', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_6', __('repot-posting.past-7-days'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_fixed_date_type', 7, ($conditions['target_fixed_date_type'] == 7), ['id'=>'search_form_radio_3_7', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_7', '過去30日', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_7', __('repot-posting.past-30-days'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('target_fixed_date_type', 8, ($conditions['target_fixed_date_type'] == 8), ['id'=>'search_form_radio_3_8', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_8', '過去60日', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_8', __('repot-posting.past-60-days'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -190,24 +190,24 @@
<div class="form-group row m-0">
<div class="col-md-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', 'ソート', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('repot-posting.sort'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-10 px-0 d-flex align-items-center">
<div class="p-2 w-100">
<div class="form-check form-check-inline">
{{ Form::radio('sort', '', ($conditions['sort'] == ''), ['id'=>'search_form_radio_4_', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_3_', 'デフォルト', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_3_', __('repot-posting.default'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('sort', 'click_count', ($conditions['sort'] == 'click_count'), ['id'=>'search_form_radio_4_click_count', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_4_click_count', 'クリック数', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_4_click_count', __('repot-posting.number-of-clicks'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::radio('sort', 'cv_count', ($conditions['sort'] == 'cv_count'), ['id'=>'search_form_radio_4_cv_count', 'class'=>'form-check-input']) }}
- {{ Form::label('search_form_radio_4_cv_count', '発生件数', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_radio_4_cv_count', __('repot-posting.number-of-occurrences'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -220,7 +220,7 @@
<div class="col-md-6 px-0 align-self-stretch">
<div class="form-group row m-0 border-bottom h-100">
<div class="col-md-6 col-lg-4 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '運営会社', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('repot-posting.operating-company'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-8 px-0 d-flex align-items-center">
@@ -234,7 +234,7 @@
<div class="col-md-6 px-0 align-self-stretch right_col">
<div class="form-group row m-0 border-bottom h-100">
<div class="col-md-6 col-lg-4 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', 'メディア', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('repot-posting.media'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-8 px-0 d-flex align-items-center">
@@ -250,7 +250,7 @@
<div class="col-md-6 px-0 align-self-stretch">
<div class="form-group row m-0 h-100">
<div class="col-md-6 col-lg-4 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '広告', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('repot-posting.ad'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-7 col-xl-8 px-0 d-flex align-items-center">
@@ -265,13 +265,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(__('repot-posting.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(__('repot-posting.search'), ['class'=>'btn btn-primary btn-lg w-100']) }}
</div>
</div>
{{ Form::hidden('csv', 0) }}
@@ -284,12 +284,12 @@
<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(__('repot-posting.download-results-csv'), ['class'=>'btn btn-secondary w-100 get_csv']) }}
</div>
</div>
</div>
- <h5 class="mb-0 text-white bg-dark box_head">掲載レポート</h5>
+ <h5 class="mb-0 text-white bg-dark box_head">{{__('repot-posting.placement-report')}}</h5>
<div class="table-responsive">
@if ($report_datas)
@@ -300,38 +300,38 @@
<span class="d-block">
    
@if ($conditions['kye_type'] == 1)
- 広告名
+ {{__('repot-posting.ad-name')}}
@elseif ($conditions['kye_type'] == 2)
- 広告素材
+ {{__('repot-posting.ad-material')}}
@elseif ($conditions['kye_type'] == 4)
- メディア
+ {{__('repot-posting.media')}}
@endif
    
</span>
</th>
<th class="align-middle text-center" scope="col" style="width: 13%;">
- <span class="d-block">クリック数</span>
+ <span class="d-block">{{__('repot-posting.number-of-clicks')}}</span>
</th>
<th class="align-middle text-center" scope="col" style="width: 13%;">
- <span class="d-block">発生件数</span>
+ <span class="d-block">{{__('repot-posting.number-of-occurrences')}}</span>
</th>
<th class="align-middle text-center" scope="col" style="width: 13%;">
- <span class="d-block">発生率</span>
+ <span class="d-block">{{__('repot-posting.occurrence-rate')}}</span>
</th>
<th class="align-middle text-center" scope="col" style="width: 13%;">
- <span class="d-block">発生報酬</span>
+ <span class="d-block">{{__('repot-posting.generated-reward')}}</span>
</th>
<th class="align-middle text-center" scope="col" style="width: 13%;">
- <span class="d-block">確定件数</span>
+ <span class="d-block">{{__('repot-posting.number-of-confirmations')}}</span>
</th>
<th class="align-middle text-center" scope="col" style="width: 13%;">
- <span class="d-block">確定報酬</span>
+ <span class="d-block">{{__('repot-posting.confirmed-reward')}}</span>
</th>
</tr>
</thead>
@@ -344,11 +344,11 @@
</td>
<td class="align-middle text-end">
- {{ number_format($report_datas[$key]['click_count']) }}件
+ {{ number_format($report_datas[$key]['click_count']) }}{{__('repot-posting.items')}}
</td>
<td class="align-middle text-end">
- {{ number_format($report_datas[$key]['cv_count']) }}件
+ {{ number_format($report_datas[$key]['cv_count']) }}{{__('repot-posting.items')}}
</td>
<td class="align-middle text-end">
@@ -356,15 +356,15 @@
</td>
<td class="align-middle text-end">
- {{ number_format($report_datas[$key]['cv_reward']) }}円
+ {{ number_format($report_datas[$key]['cv_reward']) }}{{__('repot-posting.yen')}}
</td>
<td class="align-middle text-end">
- {{ number_format($report_datas[$key]['fixed_count']) }}件
+ {{ number_format($report_datas[$key]['fixed_count']) }}{{__('repot-posting.items')}}
</td>
<td class="align-middle text-end">
- {{ number_format($report_datas[$key]['fixed_reward']) }}円
+ {{ number_format($report_datas[$key]['fixed_reward']) }}{{__('repot-posting.yen')}}
</td>
</tr>
@endforeach
@@ -372,8 +372,7 @@
</table>
@else
<div class="border inner_box text-center">
- 該当データはありません。<br>
- 条件を変更して検索してください。
+ {!!__('repot-posting.no-matching-data')!!}
</div>
@endif
</div>