samedi 18 février 2017

UNDEFINED VARIABLE ON VIEW MAILING LARAVEL 5.4

Hi guys i'm trying to mail on my system and there's problem on view which is undifined variable of data. i'm trying to parsing data to view, but it seems to be problem. here is my code of mailing

Mail::to($data['email'])->send(new TagihanMail(),['data' => $data]);

and here's my view

@component('mail::message')
# TAGIHAN PEMBAYARAN

Berikut tagihan anda untuk pembayaran


@component('mail::button', ['url' => ''])

@endcomponent

@component('mail::table')
test
@endcomponent

Terimakasih,<br>
Panitia
@endcomponent

hope u guys can help me.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire