Added in mail blade file for template of quality
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Has been cancelled

This commit is contained in:
dhanabalan
2026-05-11 10:27:19 +05:30
parent 80d7258ae0
commit 1ddd27433c

View File

@@ -33,6 +33,10 @@
<td>Job Number</td> <td>Job Number</td>
<td style="text-align: center;">{{ $request->aufnr }}</td> <td style="text-align: center;">{{ $request->aufnr }}</td>
</tr> </tr>
<tr>
<td>Model Type</td>
<td style="text-align: center;">{{ $request->model_type }}</td>
</tr>
<tr> <tr>
<td>Work Flow ID</td> <td>Work Flow ID</td>
<td style="text-align: center;">{{ $request->work_flow_id }}</td> <td style="text-align: center;">{{ $request->work_flow_id }}</td>
@@ -103,8 +107,8 @@
<td style="text-align: center;"> <td style="text-align: center;">
<a href="{{ $approveUrl }}" style="color: #28a745; font-weight: bold; text-decoration: underline;">Approve</a> <a href="{{ $approveUrl }}" style="color: #28a745; font-weight: bold; text-decoration: underline;">Approve</a>
&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;
<a href="{{ $holdUrl }}" style="color: #FF8800; font-weight: bold; text-decoration: underline;">Hold</a> {{-- <a href="{{ $holdUrl }}" style="color: #FF8800; font-weight: bold; text-decoration: underline;">Hold</a>
&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; --}}
<a href="{{ $rejectUrl }}" style="color: #dc3545; font-weight: bold; text-decoration: underline;">Reject</a> <a href="{{ $rejectUrl }}" style="color: #dc3545; font-weight: bold; text-decoration: underline;">Reject</a>
</td> </td>
</tr> </tr>
@@ -123,6 +127,30 @@
@endif @endif
</table> </table>
@elseif($approverNameFromMaster && $approverNameFromMaster->approver_type == 'Quality') @elseif($approverNameFromMaster && $approverNameFromMaster->approver_type == 'Quality')
{{-- <table style="margin-left: 3%" border="1" width="30%" cellpadding="6" cellspacing="0"> --}}
<table style="margin-left: 3%; " border="1" width="30%" cellpadding="6" cellspacing="0">
<tr>
<th colspan="2" style="text-align: center; font-weight: bold;">
TEMPLATE CHARACTERISTICS
</th>
</tr>
<tr>
<th>Name</th>
<th>Value</th>
</tr>
@forelse ($tableData as $key => $value)
<tr>
<td style="text-align: center;">{{ strtoupper($key) }}</td>
<td style="text-align: center;">{{ $value }}</td>
</tr>
@empty
<tr>
<td colspan="2">No Characteristics Found</td>
</tr>
@endforelse
</table>
<br> <br>
<table style="margin-left: 3%" border="1" width="50%" cellpadding="6" cellspacing="0"> <table style="margin-left: 3%" border="1" width="50%" cellpadding="6" cellspacing="0">
<tr> <tr>
@@ -159,8 +187,8 @@
<td style="text-align: center;"> <td style="text-align: center;">
<a href="{{ $approveUrl }}" style="color: #28a745; font-weight: bold; text-decoration: underline;">Approve</a> <a href="{{ $approveUrl }}" style="color: #28a745; font-weight: bold; text-decoration: underline;">Approve</a>
&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;
<a href="{{ $holdUrl }}" style="color: #FF8800; font-weight: bold; text-decoration: underline;">Hold</a> {{-- <a href="{{ $holdUrl }}" style="color: #FF8800; font-weight: bold; text-decoration: underline;">Hold</a>
&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp; --}}
<a href="{{ $rejectUrl }}" style="color: #dc3545; font-weight: bold; text-decoration: underline;">Reject</a> <a href="{{ $rejectUrl }}" style="color: #dc3545; font-weight: bold; text-decoration: underline;">Reject</a>
</td> </td>
</tr> </tr>