From c0c6637f5ce383f10be8311ce0cdc5dbd4bb4b13 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Sat, 19 Sep 2026 09:30:11 +0530 Subject: [PATCH] Added laser stop approval mail blade page --- .../views/mail/laser-stop-report.blade.php | 351 +++++++----------- 1 file changed, 124 insertions(+), 227 deletions(-) diff --git a/resources/views/mail/laser-stop-report.blade.php b/resources/views/mail/laser-stop-report.blade.php index e5a1426..ef5c7b9 100644 --- a/resources/views/mail/laser-stop-report.blade.php +++ b/resources/views/mail/laser-stop-report.blade.php @@ -1,240 +1,137 @@ - + - - - Laser Marking Stopped Report + {{-- Invoice Data Report --}} + - +
+ {{ $company }} +
+
+

{!! $greeting !!}

- +
- + + + + + {{-- --}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - -
-
- CRI Digital Manufacturing -
- -
- Laser Marking Stopped Alert -
- -
- Laser marking machine stoppage notification -
-
-
- ! -
-
- -
- -
- -
- ⚠ Laser Marking Stop Detected -
- -
- The following laser marking stopped records require your attention. -
- -
- -
- -
- Stopped Machine Records -
- -
- Total records: {{ $records->count() }} -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @foreach($records as $index => $record) - - - - - - - - - - - - - - - - - - - - - - - - - @endforeach - - - -
- No - - Plant - - Machine - - Production Order - - Item Code - - Serial Number - - Status - - Stopped At - - Stopped By -
- {{ $index + 1 }} - - {{ $plantName }} - - {{ $machineName }} - - {{ $record->aufnr }} - - {{ $record->item?->code ?? $record->item_id }} - - {{ $record->gernr }} - - - - STOPPED - - - - {{ $record->stopped_datetime }} - - {{ $record->stopped_by }} -
- -
- -
- - This is an automated notification from - CRI Digital Manufacturing. - -
- - Please take the necessary action regarding the stopped machine. - -

- © {{ date('Y') }} {{ $company }}
- Automated Laser Marking Stop Alert Mail - - {{-- - Laser Stop Report • {{ now()->format('d M Y, h:i A') }} - --}} - -
- -
- +
TitleDetails
Stopped Date Time{{ $tempstop['stopped_at']->format('d-m-Y H:i:s') }} + {{ $tempstop['stopped_at'] + ? \Carbon\Carbon::parse($tempstop['stopped_at'])->format('d-m-Y H:i:s') + : '' }}
Plant Name{{ $request->plant->name ?? $request->plant_id }}
Work Center{{ $request->machine->work_center ?? $request->machine_id }}
Machine Name{{ $tempstop['machine_name'] }}
Item Code{{ $request->item->code ?? $request->code }}
Description{{ $request->item->description ?? $request->description }}
Job Number{{ $request->aufnr }}
Serial Number{{ $request->gernr }}
ZMM Heading{{ $tempstop['zmm_heading'] }}
Model Type{{ $request->model_type }}
SL Logged Name{{ $tempstop['samlight_logged_name'] }}
Work Flow ID{{ $request->work_flow_id }}
Stopped By{{ $tempstop['stopped_by'] }}
+
+ + + + + + + @if($level == 2) + + + + + + + + + @elseif ($level == 3) + + + + + + + + + + + + + @else + + + + + + @endif
Approver NameApprove Status
{{ $approverNameFromMaster->name1 }}{{ ucfirst($pendingApprovers->approver_status1 ?? '-') }}
{{ $approverName }} + Approve + {{--     |     + Hold +     |     + Reject --}} +
{{ $approverNameFromMaster->name1 }}{{ ucfirst($pendingApprovers->approver_status1 ?? '-') }}
{{ $approverNameFromMaster->name2 }}{{ ucfirst($pendingApprovers->approver_status2 ?? '-') }}
{{ $approverName }} + Approve +     |     + {{-- Hold +     |     --}} + {{-- Reject --}} +
{{ $approverName }} + Approve + {{--     |     + Hold +     |     + Reject --}} +
+

{!! $wishes !!}

+