Find below the blade file:
@foreach($product1['domains']['domain'] as $product)
<tr role="row">
<td class="sorting_desc" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" aria-label="Rendering engine: activate to sort column ascending" aria-sort="descending">1</td>
<td class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1"aria-label="Browser: activate to sort column ascending">
<a href="" style="color:#23b7e5" data-toggle="modal" data-target="#myModal1">
</a>
</td>
<td class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" aria-label="Platform(s): activate to sort column ascending">
</td>
<td class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" aria-label="Platform(s): activate to sort column ascending">
</td>
<td class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" aria-label="Engine version: activate to sort column ascending">Renew</td>
</tr>
@endforeach
Find below the route code:
Route::get('/mydomains','InvoiceTicketController@set');
The controller code is given below :
class InvoiceTicketController extends Controller {
public function set(){
$product1=Whmcs::GetClientsDomains([]);
return view('clientlayout.main.mydomains',compact('product1'));
}
}
Suggest me a solution to pass session variable in laravel to display the domains based on the client in my view file.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2vybPX4
via IFTTT
Aucun commentaire:
Enregistrer un commentaire