<button class="btn btn-default" data-toggle="modal" data-target="#modalSomething{{$item->id}}">Pending</button>More information: https://stackoverflow.com/questions/36694521/unable-to-get-id-inside-html-modal-of-laravels-blade-file