• Tutorial
  • Imprimir o nome do Serviço na senha

Edite o arquivo var/www/html/novosga/templates/print.html.twig (Novo SGA v1.5)

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>{{ atendimento.senha }}</title>
    <link type="text/css" rel="stylesheet" href="{{ baseUrl() }}/css/style.css?v={{ version }}" />
    <link type="text/css" rel="stylesheet" href="{{ baseUrl() }}/css/bootstrap.min.css?v={{ version }}" />
    <link type="text/css" rel="stylesheet" href="{{ baseUrl() }}/css/print.css?v={{ version }}" />
    <link rel="shortcut icon" href="images/favicon.png" />
</head>
<body onload="window.print()">
    <div id="senha">
        <div id="senha-header">
            {{ atendimento.unidade.nome }}<br />
            <span class="data">Data:{{ now|date('d/m/Y H:i') }}</span>
        </div>
        <div id="senha-body">
            {{ atendimento.senha }}
            <span class="descricao">
                {{ atendimento.senha.prioridade.nome }}
		<br> Atendimento: {{ atendimento.servico }} <br><br> 
            </span>
        </div>
        <div id="senha-footer">
            {{ atendimento.unidade.mensagemImpressao }}
        </div>
    </div>
</body>
</html>
6 dias depois