What i want is a function that can display info when i have data in Table2 and a column like Serial Number matches that data in Table1 , it should display the row of Table1 on a view button Modal in Table2.
<div class="modal-body">
<div class="table-responsive">
<table id="" class="table table-borderless">
<tbody>
@foreach($devices as $devices)
<tr><th>Serial Number :</th><td></td></tr>
<tr><th> Category :</th><td></td></tr>
<tr><th> Device Type : </th><td></td></tr>
<tr><th> Device Make : </th><td></td></tr>
<tr><th> Device Model :</th><td></td></tr>
<tr><th> RAM :</th><td></td></tr>
<tr><th> HDD :</th><td></td></tr>
<tr><th> Processor :</th><td></td></tr>
<tr><th> Supplier :</th><td></td></tr>
<tr><th> Date Of Supply :</th><td></td></tr>
@endforeach
</tbody>
</table>
</div>
</div>
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire