Overview
Comment:Bouton imprimer sur les rapports annuels
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA1: b17cd6a11a29f1e5005bc9e626b38de459ab5d1b
User & Date: bohwaz on 2018-07-08 16:12:29
Other Links: manifest | tags
Context
2018-07-09
15:16
Corrige affichage des cotisations par période, signalé par @Daniel check-in: ede5c3863e user: bohwaz tags: trunk
2018-07-08
16:12
Bouton imprimer sur les rapports annuels check-in: b17cd6a11a user: bohwaz tags: trunk, stable
2018-07-07
11:43
Fix: solde initial de compte bancaire doit venir d'un compte de report à nouveau check-in: f02c7dc73d user: bohwaz tags: trunk, stable
Changes

Modified src/templates/admin/_head.tpl from [b330071874] to [aa97d73757].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
    <meta charset="utf-8" />
    <title>{$title}</title>
    <link rel="icon" type="image/png" href="{$admin_url}static/icon.png" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, target-densitydpi=device-dpi" />
    <link rel="stylesheet" type="text/css" href="{$admin_url}static/admin.css?2018-05-31" media="all" />
    {if isset($js) || isset($custom_js)}
        <script type="text/javascript" src="{$admin_url}static/scripts/global.js"></script>
    {/if}
    {if isset($custom_js)}
        {foreach from=$custom_js item="js"}
            <script type="text/javascript" src="{$admin_url}static/scripts/{$js}"></script>
        {/foreach}







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
<head>
    <meta charset="utf-8" />
    <title>{$title}</title>
    <link rel="icon" type="image/png" href="{$admin_url}static/icon.png" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, target-densitydpi=device-dpi" />
    <link rel="stylesheet" type="text/css" href="{$admin_url}static/admin.css?2018-07-01" media="all" />
    {if isset($js) || isset($custom_js)}
        <script type="text/javascript" src="{$admin_url}static/scripts/global.js"></script>
    {/if}
    {if isset($custom_js)}
        {foreach from=$custom_js item="js"}
            <script type="text/javascript" src="{$admin_url}static/scripts/{$js}"></script>
        {/foreach}
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
        {/foreach}
    {/if}
    {if isset($plugin_js)}
        {foreach from=$plugin_js item="js"}
            <script type="text/javascript" src="{plugin_url file=$js}"></script>
        {/foreach}
    {/if}
    <link rel="stylesheet" type="text/css" href="{$admin_url}static/print.css?a" media="print" />
    <link rel="stylesheet" type="text/css" href="{$admin_url}static/handheld.css?a" media="handheld,screen and (max-width:981px)" />
    {if isset($config)}
        {custom_colors config=$config}
    {/if}
</head>

<body{if !empty($body_id)} id="{$body_id}"{/if} data-url="{$admin_url}">







|







25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
        {/foreach}
    {/if}
    {if isset($plugin_js)}
        {foreach from=$plugin_js item="js"}
            <script type="text/javascript" src="{plugin_url file=$js}"></script>
        {/foreach}
    {/if}
    <link rel="stylesheet" type="text/css" href="{$admin_url}static/print.css?b" media="print" />
    <link rel="stylesheet" type="text/css" href="{$admin_url}static/handheld.css?a" media="handheld,screen and (max-width:981px)" />
    {if isset($config)}
        {custom_colors config=$config}
    {/if}
</head>

<body{if !empty($body_id)} id="{$body_id}"{/if} data-url="{$admin_url}">

Modified src/templates/admin/compta/rapports/_header.tpl from [246e41f329] to [1061b17f5a].

1
2
3
4
5
6
7
8







9

<div class="exercice">
    <h2>{$config.nom_asso}</h2>
    {if isset($projet)}
        <h3>Projet&nbsp;: {$projet.libelle}</h3>
    {else}
        <p>Exercice comptable {if $exercice.cloture}clôturé{else}en cours{/if} du
            {$exercice.debut|date_fr:'d/m/Y'} au {$exercice.fin|date_fr:'d/m/Y'}, généré le {$cloture|date_fr:'d/m/Y'}</p>
    {/if}







</div>









>
>
>
>
>
>
>

>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<div class="exercice">
    <h2>{$config.nom_asso}</h2>
    {if isset($projet)}
        <h3>Projet&nbsp;: {$projet.libelle}</h3>
    {else}
        <p>Exercice comptable {if $exercice.cloture}clôturé{else}en cours{/if} du
            {$exercice.debut|date_fr:'d/m/Y'} au {$exercice.fin|date_fr:'d/m/Y'}, généré le {$cloture|date_fr:'d/m/Y'}</p>
    {/if}

	<p class="noprint">
		<button onclick="window.print(); return false;">
			<b href="#need_js" class="action icn print">⎙</b>
			Imprimer
		</button>
	</p>
</div>

Modified src/www/admin/static/admin.css from [ca4ac9810a] to [903a1b66a2].

290
291
292
293
294
295
296
297
298
299
300
301
302
303
304

input[type=number], input[type=date] {
    padding: 0.2em 0.4em;
    font-family: Sans-serif;
    min-width: 2em;
}

input[type=submit], input[type=button], input[type=checkbox] {
    padding: 0.3em;
    cursor: pointer;
    transition: opacity .5s ease;
}

input.resetButton {
    padding: .1em;







|







290
291
292
293
294
295
296
297
298
299
300
301
302
303
304

input[type=number], input[type=date] {
    padding: 0.2em 0.4em;
    font-family: Sans-serif;
    min-width: 2em;
}

input[type=submit], input[type=button], input[type=checkbox], button {
    padding: 0.3em;
    cursor: pointer;
    transition: opacity .5s ease;
}

input.resetButton {
    padding: .1em;
1067
1068
1069
1070
1071
1072
1073















img.qrcode {
    float: right;
    padding: .5em;
    border: .5em solid #000;
    background: #fff;
}





















>
>
>
>
>
>
>
>
>
>
>
>
>
>
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087

img.qrcode {
    float: right;
    padding: .5em;
    border: .5em solid #000;
    background: #fff;
}

.exercice button {
    margin: .5em;
    padding: .5em;
}

.exercice button b.icn {
    font-size: 2em;
    display: block;
}

.exercice button:hover {
    opacity: .7;
}

Modified src/www/admin/static/print.css from [1a099a3a5f] to [4a0695d89e].

48
49
50
51
52
53
54
55
56
57
58
    border: 1px solid #666;
}

#rapport .parent {
    background: #ccc;
}

#rapport table table tfoot tr {
    background: #666;
    color: #fff;
}







|
<
|

48
49
50
51
52
53
54
55

56
57
    border: 1px solid #666;
}

#rapport .parent {
    background: #ccc;
}

.noprint {

    display: none;
}