git -C '/home/opc/rocketa.git' show 33978f1 -- resources/views/media/general/report/monthly.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/monthly.blade.php b/resources/views/media/general/report/monthly.blade.php
index 5d4bd35..a3c64df 100644
--- a/resources/views/media/general/report/monthly.blade.php
+++ b/resources/views/media/general/report/monthly.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-monthly.report-management')}} -{{__('repot-monthly.monthly-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-primary px-1 w-100">月別</a>
+ <a href="{{ url('/general/report/monthly') }}" class="btn btn-primary px-1 w-100">{{__('repot-monthly.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-monthly.daily')}}</a>
</div>
<div class="col-lg-2 col-sm-3 p-0">
- <a href="{{ url('/general/report/posting') }}" class="btn btn-secondary w-100">掲載</a>
+ <a href="{{ url('/general/report/posting') }}" class="btn btn-secondary w-100">{{__('repot-monthly.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-monthly.search')}}</a>
</h5>
</div>
@@ -43,7 +43,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-monthly.operating-company'), ['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">
@@ -57,7 +57,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-monthly.media'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-8 px-0 d-flex align-items-center">
@@ -73,7 +73,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-monthly.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">
@@ -87,7 +87,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-monthly.filter-by-period'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-md-6 col-lg-8 px-0 d-flex align-items-center">
@@ -113,7 +113,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-monthly.ad-name'), ['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">
@@ -128,13 +128,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-monthly.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-monthly.search'), ['class'=>'btn btn-primary btn-lg w-100']) }}
</div>
</div>
{{ Form::close() }}
@@ -143,7 +143,7 @@
</div><!-- /.card -->
</div><!-- /.accordion -->
- <h5 class="mb-0 text-white bg-dark box_head">月別レポート合計</h5>
+ <h5 class="mb-0 text-white bg-dark box_head">{{__('repot-monthly.monthly-report-total')}}</h5>
<div class="table-responsive mb-3">
<table class="table table-bordered table-striped text-nowrap mb-0">
@@ -152,35 +152,35 @@
<th scope="col" style="width: 10%;"></th>
<th class="align-middle" scope="col" style="width: 11.25%;">
- <span class="d-block text-center">クリック数</span>
+ <span class="d-block text-center">{{__('repot-monthly.number-of-clicks')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 11.25%;">
- <span class="d-block text-center">発生件数</span>
+ <span class="d-block text-center">{{__('repot-monthly.number-of-occurrences')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 11.25%;">
- <span class="d-block text-center">発生率</span>
+ <span class="d-block text-center">{{__('repot-monthly.occurrence-rate')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 11.25%;">
- <span class="d-block text-center">発生報酬</span>
+ <span class="d-block text-center">{{__('repot-monthly.generated-reward')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 11.25%;">
- <span class="d-block text-center">確定件数</span>
+ <span class="d-block text-center">{{__('repot-monthly.number-of-confirmations')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 11.25%;">
- <span class="d-block text-center">確定報酬</span>
+ <span class="d-block text-center">{{__('repot-monthly.confirmed-reward')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 11.25%;">
- <span class="d-block text-center">固定費</span>
+ <span class="d-block text-center">{{__('repot-monthly.fixed-cost')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 11.25%;">
- <span class="d-block text-center">報酬合計</span>
+ <span class="d-block text-center">{{__('repot-monthly.total-reward')}}</span>
</th>
</tr>
</thead>
@@ -192,11 +192,11 @@
</td>
<td class="align-middle text-end text-break">
- {{ number_format($total_report_datas['click_count']) }}件
+ {{ number_format($total_report_datas['click_count']) }}{{__('repot-monthly.items')}}
</td>
<td class="align-middle text-end text-break">
- {{ number_format($total_report_datas['cv_count']) }}件
+ {{ number_format($total_report_datas['cv_count']) }}{{__('repot-monthly.items')}}
</td>
<td class="align-middle text-end text-break">
@@ -204,23 +204,23 @@
</td>
<td class="align-middle text-end text-break">
- {{ number_format($total_report_datas['cv_reward']) }}円
+ {{ number_format($total_report_datas['cv_reward']) }}{{__('repot-monthly.yen')}}
</td>
<td class="align-middle text-end text-break">
- {{ number_format($total_report_datas['fixed_count']) }}件
+ {{ number_format($total_report_datas['fixed_count']) }}{{__('repot-monthly.items')}}
</td>
<td class="align-middle text-end text-break">
- {{ number_format($total_report_datas['fixed_reward']) }}円
+ {{ number_format($total_report_datas['fixed_reward']) }}{{__('repot-monthly.yen')}}
</td>
<td class="align-middle text-end text-break">
- {{ number_format($total_report_datas['fixed_cost_reward']) }}円
+ {{ number_format($total_report_datas['fixed_cost_reward']) }}{{__('repot-monthly.yen')}}
</td>
<td class="align-middle text-end text-break">
- {{ number_format($total_report_datas['total_reward']) }}円
+ {{ number_format($total_report_datas['total_reward']) }}{{__('repot-monthly.yen')}}
</td>
</tr>
</tbody>
@@ -239,7 +239,7 @@
</div>
</div>
- <h5 class="mb-0 text-white bg-dark box_head">月別レポート</h5>
+ <h5 class="mb-0 text-white bg-dark box_head">{{__('repot-monthly.monthly-report-total')}}</h5>
<div class="table-responsive">
<table class="table table-bordered table-striped text-nowrap mb-0">
@@ -248,35 +248,35 @@
<th scope="col" style="width: 10%;"></th>
<th class="align-middle" scope="col" style="width: 11.25%;">
- <span class="d-block text-center">クリック数</span>
+ <span class="d-block text-center">{{__('repot-monthly.number-of-clicks')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 11.25%;">
- <span class="d-block text-center">発生件数</span>
+ <span class="d-block text-center">{{__('repot-monthly.number-of-occurrences')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 11.25%;">
- <span class="d-block text-center">発生率</span>
+ <span class="d-block text-center">{{__('repot-monthly.occurrence-rate')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 11.25%;">
- <span class="d-block text-center">発生報酬</span>
+ <span class="d-block text-center">{{__('repot-monthly.generated-reward')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 11.25%;">
- <span class="d-block text-center">確定件数</span>
+ <span class="d-block text-center">{{__('repot-monthly.number-of-confirmations')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 11.25%;">
- <span class="d-block text-center">確定報酬</span>
+ <span class="d-block text-center">{{__('repot-monthly.confirmed-reward')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 11.25%;">
- <span class="d-block text-center">固定費</span>
+ <span class="d-block text-center">{{__('repot-monthly.fixed-cost')}}</span>
</th>
<th class="align-middle" scope="col" style="width: 11.25%;">
- <span class="d-block text-center">報酬合計</span>
+ <span class="d-block text-center">{{__('repot-monthly.total-reward')}}</span>
</th>
</tr>
</thead>
@@ -289,35 +289,34 @@
</td>
<td class="align-middle text-end text-break">
- {{ number_format($monthly_report_data['click_count']) }}件
+ {{ number_format($monthly_report_data['click_count']) }}{{__('repot-monthly.items')}}
</td>
<td class="align-middle text-end text-break">
- {{ number_format($monthly_report_data['cv_count']) }}件
- </td>
+ {{ number_format($monthly_report_data['cv_count']) }}{{__('repot-monthly.items')}}
<td class="align-middle text-end text-break">
{{ $monthly_report_data['cvr'] }}%
</td>
<td class="align-middle text-end text-break">
- {{ number_format($monthly_report_data['cv_reward']) }}円
+ {{ number_format($monthly_report_data['cv_reward']) }}{{__('repot-monthly.yen')}}
</td>
<td class="align-middle text-end text-break">
- {{ number_format($monthly_report_data['fixed_count']) }}件
+ {{ number_format($monthly_report_data['fixed_count']) }}{{__('repot-monthly.items')}}
</td>
<td class="align-middle text-end text-break">
- {{ number_format($monthly_report_data['fixed_reward']) }}円
+ {{ number_format($monthly_report_data['fixed_reward']) }}{{__('repot-monthly.yen')}}
</td>
<td class="align-middle text-end text-break">
- {{ number_format($monthly_report_data['fixed_cost_reward']) }}円
+ {{ number_format($monthly_report_data['fixed_cost_reward']) }}{{__('repot-monthly.yen')}}
</td>
<td class="align-middle text-end text-break">
- {{ number_format($monthly_report_data['total_reward']) }}円
+ {{ number_format($monthly_report_data['total_reward']) }}{{__('repot-monthly.yen')}}
</td>
</tr>
@endforeach
@@ -338,7 +337,7 @@
datasets: [{
type: 'line',
yAxesID: 'y-axis-1',
- label: '発生件数',
+ label: '{{__('repot-monthly.number-of-occurrences')}}',
data: [
<?php
foreach ($count_chart_datas['cv_count'] as $cv_count) {
@@ -353,7 +352,7 @@
},{
type: 'bar',
yAxesID: 'y-axis-2',
- label: '確定件数',
+ label: '{{__('repot-monthly.number-of-confirmations')}}',
data: [
<?php
foreach ($count_chart_datas['fixed_count'] as $fixed_count) {
@@ -386,7 +385,7 @@
beginAtZero: true, // y軸のスタートを0
stepSize: <?php echo $count_chart_datas['step_size']; ?>, // 細かい時固定にするとレスポンシブで死かもしれない
callback: function(val) { // グラフの単位
- return val + '件';
+ return val + '{{__('repot-monthly.items')}}';
}
}
}
@@ -404,7 +403,7 @@
datasets: [{
type: 'line',
yAxesID: 'y-axis-1',
- label: '発生報酬',
+ label: '{{__('repot-monthly.generated-reward')}}',
data: [
<?php
foreach ($fixed_chart_datas['cv_reward'] as $cv_reward) {
@@ -419,7 +418,7 @@
},{
type: 'bar',
yAxesID: 'y-axis-2',
- label: '確定報酬',
+ label: '{{__('repot-monthly.confirmed-reward')}}',
data: [
<?php
foreach ($fixed_chart_datas['fixed_reward'] as $fixed_reward) {
@@ -452,7 +451,7 @@
beginAtZero: true, // y軸のスタートを0
stepSize: <?php echo $fixed_chart_datas['step_size']; ?>, // 細かい時固定にするとレスポンシブで死かもしれない
callback: function(val) { // グラフの単位
- return val + '円';
+ return val + '{{__('repot-monthly.yen')}}';
}
}
}