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!



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire