3
I have a View
where customer data is shown, and at the click of a button, the user is redirected to a page that shows the moves of several customers, right on this page contains some filters. So what I need is that when this client clicks on the button and is redirected to the page with the filters, that the items related to it are filtered.
For example:
<center><strong>--Simulando--</strong></center><br>
<i>Ao clicar no botão, da `View`, abrirá a página `Nfse`, pertencente à outra controller.</i>
<hr>
<br><br>
<strong><i>VIEW:</i></strong> <br><br>
<table border='1'>
<tr>
<th>Cliente</th>
<th>Cnpj</th>
<th>Nfes emitidas</th>
</tr>
<tr>
<td>XX SERVICOS</td>
<td>00000000000100</td>
<td><center><button>Nfes</button></center></td>
</tr>
</table>
<br><br>
<i> Ao clicar no botão <button>Nfes</button> será redirecionado para ...</i>
<br><br>
<strong><i>Nfes:</i></strong><br><br>
<input type='text' placeholder='nr.nfe'>
<input type='text' placeholder='cnpj emitente' value='00000000000100'> <small><small>#Este campo deverá vir preenchido#</small></small>
<input type='text' placeholder='dt emissao'>
<input type='button' value='Filtrar'>
<br><br>
<i>Trazendo como resultado esses dados simulados!</i>
<br><br>
<table border='1'>
<tr>
<th>Nr.nfe</th>
<th>cnpj emitente</th>
<th>dt emissao</th>
</tr>
<tr>
<td>11324</td>
<td>00000000000100</td>
<td>31/01/2017</td>
</tr>
<tr>
<td>11323</td>
<td>00000000000100</td>
<td>28/01/2017</td>
</tr>
<tr>
<td>11322</td>
<td>00000000000100</td>
<td>15/01/2017</td>
</tr>
</table>
In the case of two controller
different, I’m not able to find a solution for this, could collaborate with some idea or correction?
Perfect !! Exactly what I needed, works perfectly, put the
URL
that I wanted like thismixed => $url
, passing tocontroller
and theaction
destination, very good !!– Marcos Henzel
@Marcoshenzel, OK! Thank you so much for the reward! But the most important thing is that it was useful for you! It feels really good! Success!
– pss1suporte