Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
2.2 kB
12
Indexable
Never
@component('mail::message')
# Dear Colleagues
{!! $mailData['title'] !!}
<br>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--[if !mso]><!-->
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <!--<![endif]-->
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no" />
    <meta name="x-apple-disable-message-reformatting" />
</head>
<style>
    tr td:last-child {
        white-space: nowrap;
    }
</style>
<body>
<table  width="100%" style="padding: 1px 5px;border-collapse:collapse;border-spacing:0;font-size:16px;margin: 0 0 20px;line-height:20px;color: #000000; font-family: Arial,serif;" border="1" bordercolor="#000000">
    <tbody>
   <tr>
       @foreach($mailData['header'] as $header)
           <td align="center" class="block"><strong>{{$header}}</strong></td>
       @endforeach
   </tr>
   @foreach($mailData['body'] as $key=>$value)
       <tr  style="width: 100%;text-align: center;">
           <td  align="center">{{$key+1}}</td>
           @if(!empty($value->wo_number))
               <td  align="center"><a href="{{$value->url}}">{{$value->wo_number}}</a></td>
           @endif
           @if(!empty($mailData['selected_link']))
               <td  align="center" ><a href="{{$value->url}}">{{$value->function_location}}</a></td>
           @else
               <td  align="center" >{{$value->function_location}}</td>
           @endif
           <td  align="center">{{$value->discipline}}</td>
           <td  align="center">{{$value->location}}</td>
           <td  align="center">{{$value->last_change_by}}</td>
           <td  align="center">{{$value->updated_at}}</td>
       </tr>
   @endforeach
    </tbody>
</table>
</body>
</html>
{{--
@component('mail::button', ['url' => ''])
Button Text
@endcomponent
--}}

<p> Best Regards</p>
{{ config('app.name') }}
@endcomponent