I have View
where the customer data is shown, and when you click a button, the user is redirected to a page that shows the movements of several clients, so that page contains some filters. So what I need is that when that client clicks on the button and is redirected to the page with the filters, it will filter the items pertaining to it.
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>
If it's two controller
different, I can not find a solution to this, could it collaborate with some idea or correction?