Skip to content

Commit

Permalink
feat: adiciona coluna de condições na tabela de notas
Browse files Browse the repository at this point in the history
adicionado exibicao de mensagem do fluxo na visualizacao da fatura.
  • Loading branch information
andrekutianski committed Apr 27, 2024
1 parent 42d0f77 commit 1ea78d1
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{elseif $data == 'CancelFailed'}
Nota não foi cancelada com sucesso
{elseif $data == 'IssueFailed'}
Emissão da nota sem sucesso
Erro ao emitir nota
{elseif $data == 'PullFromCityHall'}
PullFromCityHall
{elseif $data == 'WaitingDefineRpsNumber'}
Expand Down Expand Up @@ -108,6 +108,7 @@
<th class="text-center">Gerada Em</th>
<th class="text-center">Valor</th>
<th class="text-center">Status</th>
<th class="text-center">Mensagem</th>
<th class="text-center">Ações</th>
</thead>
<tbody>
Expand All @@ -117,12 +118,17 @@
<td class="text-center"><abbr title="{$nota->created_at|date_format:"%H:%M:%S"}">{$nota->created_at|date_format:"%d/%m/%Y"}</abbr></td>
<td class="text-center">{$nota->services_amount}</td>
<td class="text-center"><abbr title="Status Flow: {flowStatus data=$nota->flow_status}">{statusLabel data=$nota->status}</abbr></td>
<td>
<p class="bg-warning">
{$nota->issue_note_conditions}
</p>
</td>
<td>
<form action="" method="post" id="nfeio_frm_email_{$smarty.foreach.nf.iteration}">
<input type="hidden" name="nfeiosi" value="email">
<input type="hidden" name="nfe_id" value="{$nota->nfe_id}">
</form>
<div class="btn-group btn-group-sm" role="group" aria-label="Ações">
<div class="btn-group btn-group-xs" role="group" aria-label="Ações">
<button {disableButtonAction data=$nota->status} type="button" class="btn btn-success" onclick="goTo('https://app.nfe.io/companies/{$companyId}/service-invoices/{$nota->nfe_id}', '_blank')">Visualizar</button>
<button {disableButtonAction data=$nota->status} type="submit" class="btn btn-info" form="nfeio_frm_email_{$smarty.foreach.nf.iteration}">Enviar e-mail</button>
</div>
Expand Down

0 comments on commit 1ea78d1

Please sign in to comment.