@extends('emails.layouts.stepup', [ 'preheader' => ($name ?? 'Staff') . ' ' . ($type ?? 'punched') . ' at ' . \Carbon\Carbon::parse($time ?? 'now')->format('h:i A'), 'heading' => 'Staff Punch Notification', ]) @section('body')
Hello Admin,
This is to inform you that {{ $name ?? 'a staff member' }} has just {{ $type ?? 'punched' }}.
@endsection @section('summary') @include('emails.components.summary-table', ['title' => 'Punch Details', 'rows' => [ ['label' => 'Date', 'value' => e(\Carbon\Carbon::parse($date)->format('F j, Y'))], ['label' => 'Time', 'value' => e(\Carbon\Carbon::parse($time)->format('h:i A'))], ['label' => 'Staff', 'value' => e($name ?? '-')], ['label' => 'Method', 'value' => e($method ?? '-')], ['label' => 'Action', 'value' => e($type ?? '-')], ]]) @endsection @section('footerNote') Please review this punch activity if needed. @endsection