Mailer a search in LognDesc
This commit is contained in:
@@ -16,6 +16,7 @@ class FeedbackController extends Controller
|
||||
$message = $request->input('message');
|
||||
|
||||
$data = ['name' => $name,'email'=> $email,'message'=> $message, 'subject' => $subject ];
|
||||
|
||||
Mail::to('jaro@ttx.sk')->send(new SendFeedbackMail($data));
|
||||
|
||||
return response()->json(['success' => 'Send email successfully.']);
|
||||
|
||||
@@ -32,6 +32,6 @@ class SendFeedbackMail extends Mailable
|
||||
*/
|
||||
public function build()
|
||||
{
|
||||
return $this->subject('IKEA Feedback Mail')->view('mails.feedback');
|
||||
return $this->subject('IKEA Feedback Mail')->view('mails.feedback')->with(['data' => $this->data]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -27,6 +27,8 @@ const sdropdown = ref([
|
||||
]);
|
||||
|
||||
const products = ref([]);
|
||||
const searchField = ref('descLong');
|
||||
const searchValue = ref('');
|
||||
|
||||
const countryHash = ref([]);
|
||||
const countryCurrency = ref({});
|
||||
@@ -527,11 +529,14 @@ watch(ccodes, (codes) => {
|
||||
</div>
|
||||
</form>
|
||||
<div class="mt-5">
|
||||
<input placeholder="Search in Long Desc" class="mb-1 px-2 py-1 placeholder-blueGray-300 text-blueGray-600 relative bg-white bg-white rounded text-sm border border-blueGray-300 outline-none focus:outline-none focus:ring w-full" type="text" v-model="searchValue">
|
||||
<EasyTable
|
||||
class="none"
|
||||
:rows-per-page="20"
|
||||
:headers="hresults"
|
||||
:items="options_items"
|
||||
:search-field="searchField"
|
||||
:search-value="searchValue"
|
||||
@click-row="showRow"
|
||||
:filter-options="filterOptions"
|
||||
alternating
|
||||
|
||||
Reference in New Issue
Block a user