Update TTD
This commit is contained in:
@@ -533,7 +533,14 @@ class RequestLogController extends Controller
|
|||||||
->where('files.fileable_type', '=', 'App\Models\Signature')
|
->where('files.fileable_type', '=', 'App\Models\Signature')
|
||||||
->where('signatures.type', '=', 2)
|
->where('signatures.type', '=', 2)
|
||||||
->where('signatures.user_id', '=', $dataRequestLog->approved_by)
|
->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();
|
->first();
|
||||||
|
|
||||||
$data['signatureAd'] = $signatureAd;
|
$data['signatureAd'] = $signatureAd;
|
||||||
@@ -705,7 +712,14 @@ class RequestLogController extends Controller
|
|||||||
->where('files.fileable_type', '=', 'App\Models\Signature')
|
->where('files.fileable_type', '=', 'App\Models\Signature')
|
||||||
->where('signatures.type', '=', 2)
|
->where('signatures.type', '=', 2)
|
||||||
->where('signatures.user_id', '=', $dataRequestLog->approved_by)
|
->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();
|
->first();
|
||||||
|
|
||||||
$data['signatureAd'] = $signatureAd;
|
$data['signatureAd'] = $signatureAd;
|
||||||
|
|||||||
@@ -304,8 +304,18 @@
|
|||||||
@endphp
|
@endphp
|
||||||
</div>
|
</div>
|
||||||
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right-ttd-<?php echo now()->timestamp; ?> ">
|
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right-ttd-<?php echo now()->timestamp; ?> ">
|
||||||
(.......................................)<br>
|
@php
|
||||||
<b>Customer Service Team</b>
|
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>
|
||||||
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left1-ttd-<?php echo now()->timestamp; ?> ">
|
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left1-ttd-<?php echo now()->timestamp; ?> ">
|
||||||
(.......................................)
|
(.......................................)
|
||||||
|
|||||||
@@ -470,8 +470,18 @@
|
|||||||
@endphp
|
@endphp
|
||||||
</div>
|
</div>
|
||||||
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right-ttd-<?php echo now()->timestamp; ?> ">
|
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right-ttd-<?php echo now()->timestamp; ?> ">
|
||||||
(.......................................)<br>
|
@php
|
||||||
<b>Customer Service Team</b>
|
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>
|
||||||
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right1-ttd-<?php echo now()->timestamp; ?> ">
|
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right1-ttd-<?php echo now()->timestamp; ?> ">
|
||||||
<b>{{ $dataMember->name }}</b>
|
<b>{{ $dataMember->name }}</b>
|
||||||
|
|||||||
Reference in New Issue
Block a user