lundi 1 janvier 2018

How can i pass angularjs variable to laravel name route?

I have a date picker and i want to get that that and pass to laravel route. how can i do that? My blade file:

<div class="form-inline">
               <label>Date:</label>
                <input class="form-control datePicker" type="text" name="date" id="date" ng-model="date">

 <a target="_blank" href="])}}">PDF</a>
            </div>

my route:

 Route::get('my/report/{date}','MyController@geteport')->name('my-report');

it it not working!



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2CmCHwB
via IFTTT

Aucun commentaire:

Enregistrer un commentaire