parent
505459af86
commit
75e3081a98
packages/bydauto
@ -25,17 +25,7 @@ public function toMail(object $notifiable): MailMessage
|
||||
->subject("预约试驾线索通知")
|
||||
->line("收到新的试驾预约信息:")
|
||||
->line($table)
|
||||
->line("=====")
|
||||
->salutation("祝,工作愉快!");
|
||||
|
||||
// $text = sprintf("姓名:%s <br>电话:<a href='tel:%s'>%s</a>", $this->model->name, $this->model->mobile, $this->model->mobile);
|
||||
// $text = new HtmlString($text);
|
||||
// return (new MailMessage())
|
||||
// ->subject("预约试驾线索通知")
|
||||
// ->line("收到一条新的试驾预约信息")
|
||||
// ->line($text)
|
||||
// ->line("=====")
|
||||
// ->salutation("祝,工作愉快!");
|
||||
}
|
||||
|
||||
public function toArray(object $notifiable): array
|
||||
|
@ -1,10 +1,12 @@
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="2" bgcolor="#000000">
|
||||
<tr bgcolor="#ffffff">
|
||||
<th width="40%">姓名</th>
|
||||
<th width="10%">序号</th>
|
||||
<th width="30%">姓名</th>
|
||||
<th>电话</th>
|
||||
</tr>
|
||||
@foreach($items as $item)
|
||||
@foreach($items as $sn => $item)
|
||||
<tr bgcolor="#ffffff">
|
||||
<td>{{ $sn + 1 }}</td>
|
||||
<td>{{ $item->name }}</td>
|
||||
<td>{{ $item->mobile }}</td>
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user