Update TTD
This commit is contained in:
@@ -533,7 +533,14 @@ class RequestLogController extends Controller
|
||||
->where('files.fileable_type', '=', 'App\Models\Signature')
|
||||
->where('signatures.type', '=', 2)
|
||||
->where('signatures.user_id', '=', $dataRequestLog->approved_by)
|
||||
->select('files.path')
|
||||
->select(
|
||||
'files.path',
|
||||
DB::raw('
|
||||
(Select persons.name FROM users
|
||||
LEFT JOIN persons ON users.person_id = persons.id
|
||||
WHERE users.id = "'.$dataRequestLog->approved_by.'" LIMIT 1) AS name_approve
|
||||
')
|
||||
)
|
||||
->first();
|
||||
|
||||
$data['signatureAd'] = $signatureAd;
|
||||
@@ -705,7 +712,14 @@ class RequestLogController extends Controller
|
||||
->where('files.fileable_type', '=', 'App\Models\Signature')
|
||||
->where('signatures.type', '=', 2)
|
||||
->where('signatures.user_id', '=', $dataRequestLog->approved_by)
|
||||
->select('files.path')
|
||||
->select(
|
||||
'files.path',
|
||||
DB::raw('
|
||||
(Select persons.name FROM users
|
||||
LEFT JOIN persons ON users.person_id = persons.id
|
||||
WHERE users.id = "'.$dataRequestLog->approved_by.'" LIMIT 1) AS name_approve
|
||||
')
|
||||
)
|
||||
->first();
|
||||
|
||||
$data['signatureAd'] = $signatureAd;
|
||||
|
||||
@@ -304,8 +304,18 @@
|
||||
@endphp
|
||||
</div>
|
||||
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right-ttd-<?php echo now()->timestamp; ?> ">
|
||||
(.......................................)<br>
|
||||
<b>Customer Service Team</b>
|
||||
@php
|
||||
if (!empty($signatureAd->name_approve)) {
|
||||
@endphp
|
||||
<u><b>{{ $signatureAd->name_approve }}</b></u>
|
||||
@php
|
||||
} else {
|
||||
@endphp
|
||||
(.......................................)
|
||||
@php
|
||||
}
|
||||
@endphp
|
||||
<br><b>Customer Service Team</b>
|
||||
</div>
|
||||
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left1-ttd-<?php echo now()->timestamp; ?> ">
|
||||
(.......................................)
|
||||
|
||||
@@ -470,8 +470,18 @@
|
||||
@endphp
|
||||
</div>
|
||||
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right-ttd-<?php echo now()->timestamp; ?> ">
|
||||
(.......................................)<br>
|
||||
<b>Customer Service Team</b>
|
||||
@php
|
||||
if (!empty($signatureAd->name_approve)) {
|
||||
@endphp
|
||||
<u><b>{{ $signatureAd->name_approve }}</b></u>
|
||||
@php
|
||||
} else {
|
||||
@endphp
|
||||
(.......................................)
|
||||
@php
|
||||
}
|
||||
@endphp
|
||||
<br><b>Customer Service Team</b>
|
||||
</div>
|
||||
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right1-ttd-<?php echo now()->timestamp; ?> ">
|
||||
<b>{{ $dataMember->name }}</b>
|
||||
|
||||
Reference in New Issue
Block a user