diff --git a/src/ninebadge-1.0/templates/Tallyday/month.html.twig b/src/ninebadge-1.0/templates/Tallyday/month.html.twig index ce7add6..86f9d41 100644 --- a/src/ninebadge-1.0/templates/Tallyday/month.html.twig +++ b/src/ninebadge-1.0/templates/Tallyday/month.html.twig @@ -19,13 +19,21 @@ td { {% if fgprint %}color:#000000 !important;{%endif%} } -{% if fgprint %} +@media print { + .noprint { display:none; } + body,h1,.card-header {font-family: 'arial' !important} + .card {float: none !important; } .card, .card-header {border: none;} .breakpage { page-break-after: always; } -{% endif %} + .nobreakpage{ + page-break-after: unset; + } + .card-body {padding:0px;} + .fulltable{width:100%;} +} .date { color: #ffffff; @@ -43,23 +51,26 @@ td { RAPPORT MENSUEL = {{ monthof|date("m/Y") }} +
s | @@ -201,6 +212,11 @@ td { maxheight=$(this).height(); }); $( ".card" ).height(maxheight); + + $("#btnprint").click(function(){ + window.print(); + return false; + }); }); {% endblock %} \ No newline at end of file
---|