git -C '/home/opc/rocketa.git' show f393a5a -- resources/views/admin/media/company/regist.blade.phpcommit f393a5a0fad5dd498bf6f58ad344360076cf9d89
Author: Satoshi Ujihara <satoshi_ujihara@fivegate.jp>
Date: Fri Dec 19 19:36:07 2025 +0900
メニュータイトルの仕様変更
銀行コピーのアップロード機能
diff --git a/resources/views/admin/media/company/regist.blade.php b/resources/views/admin/media/company/regist.blade.php
index e80e8c8..6067944 100644
--- a/resources/views/admin/media/company/regist.blade.php
+++ b/resources/views/admin/media/company/regist.blade.php
@@ -5,7 +5,11 @@
ページタイトル定義
ここのタイトルがapp.bladeに読み込まれます。
--}}
-@section('title', '運営会社登録')
+@if(isset($datas['media_company_id']) && $datas['media_company_id'])
+@section('title', __('media-company-regist.operating_company_edit'))
+@else
+@section('title', __('media-company-regist.operating_company_registration'))
+@endif
{{-- コンテンツ内容 .main_col内 --}}
@section('content')
@@ -25,7 +29,7 @@
}
</style>
- <h2 class="mb-3 pb-2 border-bottom">{{__('media-company-regist.partner_management')}} - {{__('media-company-regist.operating_company_registration')}}</h2>
+ <h2 class="mb-3 pb-2 border-bottom">@if(isset($datas['media_company_id']) && $datas['media_company_id']){{__('media-company-regist.operating_company_edit')}}@else{{__('media-company-regist.operating_company_registration')}}@endif </h2>
@if (empty($datas['action']))
{{ Form::open(['files'=> true]) }}
@@ -386,31 +390,31 @@
<div class="col-sm-10 px-0 d-flex align-items-center">
<div class="p-2 w-100">
<div class="container mt-5">
-<label class="file-upload-area w-100 p-5 text-center" id="dropArea">
- <input type="file" name="bank_copy" class="d-none" id="fileInput">
-
- <div id="defaultContent">
- <div class="mb-3">
- <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="currentColor" class="bi bi-upload text-dark" viewBox="0 0 16 16">
- <path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"/>
- <path d="M7.646 1.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 2.707V11.5a.5.5 0 0 1-1 0V2.707L5.354 4.854a.5.5 0 0 1-.708-.708l3-3z"/>
- </svg>
- </div>
- <p class="mb-1 text-secondary fw-bold">{{__('media-company-detail.file_drag_and_drop')}}</p>
- <p class="text-secondary small mb-0">{{__('media-company-detail.pdf_png_jpeg')}}</p>
- </div>
-
- <div id="fileContent" class="d-none">
- <div class="mb-3">
- <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="currentColor" class="bi bi-file-earmark-check text-success" viewBox="0 0 16 16">
- <path d="M10.854 7.854a.5.5 0 0 0-.708-.708L7.5 9.793 6.354 8.646a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0l3-3z"/>
- <path d="M14 14V4.5L9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2zM9.5 3A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5v2z"/>
- </svg>
- </div>
- <h5 class="fw-bold text-dark" id="fileNameDisplay"></h5>
- <p class="text-primary small mb-0">{{__('media-company-detail.click_to_change')}}</p>
- </div>
- </label>
+ <label class="file-upload-area w-100 p-5 text-center" id="dropArea">
+ <input type="file" name="bank_copy" class="d-none" id="fileInput">
+
+ <div id="defaultContent">
+ <div class="mb-3">
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="currentColor" class="bi bi-upload text-dark" viewBox="0 0 16 16">
+ <path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"/>
+ <path d="M7.646 1.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 2.707V11.5a.5.5 0 0 1-1 0V2.707L5.354 4.854a.5.5 0 0 1-.708-.708l3-3z"/>
+ </svg>
+ </div>
+ <p class="mb-1 text-secondary fw-bold">{{__('media-company-detail.file_drag_and_drop')}}</p>
+ <p class="text-secondary small mb-0">{{__('media-company-detail.pdf_png_jpeg')}}</p>
+ </div>
+
+ <div id="fileContent" class="d-none">
+ <div class="mb-3">
+ <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="currentColor" class="bi bi-file-earmark-check text-success" viewBox="0 0 16 16">
+ <path d="M10.854 7.854a.5.5 0 0 0-.708-.708L7.5 9.793 6.354 8.646a.5.5 0 1 0-.708.708l1.5 1.5a.5.5 0 0 0 .708 0l3-3z"/>
+ <path d="M14 14V4.5L9.5 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2zM9.5 3A1.5 1.5 0 0 0 11 4.5h2V14a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h5.5v2z"/>
+ </svg>
+ </div>
+ <h5 class="fw-bold text-dark" id="fileNameDisplay"></h5>
+ <p class="text-primary small mb-0">{{__('media-company-detail.click_to_change')}}</p>
+ </div>
+ </label>
</div>
@if($errors->has('bank_copy'))