Overview
Comment:Improve preview for reçu fiscal
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | templates
Files: files | file ages | folders
SHA3-256: fdc88e11a6e0b9f3936b28ff24bd618f3bcf02d4f320d81d9efb73477b2981d2
User & Date: bohwaz on 2021-12-19 21:52:48
Other Links: branch diff | manifest | tags
Context
2021-12-20
03:38
Invoice/quotes user templates check-in: 81047b32da user: bohwaz tags: templates
2021-12-19
21:52
Improve preview for reçu fiscal check-in: fdc88e11a6 user: bohwaz tags: templates
19:54
Working user templates for transactions check-in: 5011716de7 user: bohwaz tags: templates
Changes

Modified src/skel-dist/transaction/recu_fiscal/config.html from [a3b2231a18] to [62bd12b9cb].

26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{{/load}}

<form method="post" action="">

<fieldset>
	<legend>Configuration du modèle de reçu fiscal</legend>
	<dl>
		{{:input required=true name="objet" type="textarea" label="Objet de l'association" source=$cerfa_config}}
		{{:input required=true name="compte_especes" type="text" label="Code du compte de caisse" help="par exemple 530" source=$cerfa_config default="530"}}
		{{:input required=true name="compte_cheques" type="text" label="Code du compte pour les chèques" help="par exemple 5112" source=$cerfa_config default="5112"}}
		<dd class="help">Ces comptes sont utilisés pour déterminer le type de versement utilisé.</dd>
		<dt>Réduction d'impôt éligibles&nbsp;:</dt>
		{{:input type="checkbox" name="art200" value="1" source=$cerfa_config label="Article 200"}}
		{{:input type="checkbox" name="art238" value="1" source=$cerfa_config label="Article 238 bis"}}
		{{:input type="checkbox" name="art885" value="1" source=$cerfa_config label="Article 885-0V bis A"}}







|







26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{{/load}}

<form method="post" action="">

<fieldset>
	<legend>Configuration du modèle de reçu fiscal</legend>
	<dl>
		{{:input required=true name="objet" type="textarea" label="Objet de l'association" source=$cerfa_config cols="70" rows="4"}}
		{{:input required=true name="compte_especes" type="text" label="Code du compte de caisse" help="par exemple 530" source=$cerfa_config default="530"}}
		{{:input required=true name="compte_cheques" type="text" label="Code du compte pour les chèques" help="par exemple 5112" source=$cerfa_config default="5112"}}
		<dd class="help">Ces comptes sont utilisés pour déterminer le type de versement utilisé.</dd>
		<dt>Réduction d'impôt éligibles&nbsp;:</dt>
		{{:input type="checkbox" name="art200" value="1" source=$cerfa_config label="Article 200"}}
		{{:input type="checkbox" name="art238" value="1" source=$cerfa_config label="Article 238 bis"}}
		{{:input type="checkbox" name="art885" value="1" source=$cerfa_config label="Article 885-0V bis A"}}

Modified src/skel-dist/transaction/recu_fiscal/index.html from [8d020158ac] to [8c2ae57559].

23
24
25
26
27
28
29

30
31
32
33





















34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57

{{#transactions id=$_GET.id_transaction}}
<!DOCTYPE html>
<html>
<head>
	<title>Reçu fiscal n°{{$id}} - {{$users_names}}</title>
	<style type="text/css">

	@page {
		size: A4 portrait;
		margin: 0;
		padding: 0;





















	}

	body {
		font-family: Helvetica, Arial, sans;
		font-size: 10pt;
		background: white;
		padding: 0;
		margin: 0;
	}

	.page div {
		position: absolute;
	}

	.page {
		padding: 0;
		margin: 0;
		break-after: always;
		width: 210mm;
		height: 297mm;
		background-size: cover;
		background-position: -5mm -4.8mm;
		position: relative;
	}







>
|
|
|
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>







<








<







23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

63
64
65
66
67
68
69
70

71
72
73
74
75
76
77

{{#transactions id=$_GET.id_transaction}}
<!DOCTYPE html>
<html>
<head>
	<title>Reçu fiscal n°{{$id}} - {{$users_names}}</title>
	<style type="text/css">
	@media print {
		@page {
			size: A4 portrait;
			margin: 0;
			padding: 0;
		}

		body {
			margin: 0;
		}
	}

	@media screen {
		html {
			background: #666;
		}
		body {
			margin: 0 auto;
			padding: 0;
			background: #fff;
			width: 210mm;
			height: 297mm;
		}
		.page {
			margin: 1em 0;
		}
	}

	body {
		font-family: Helvetica, Arial, sans;
		font-size: 10pt;
		background: white;
		padding: 0;

	}

	.page div {
		position: absolute;
	}

	.page {
		padding: 0;

		break-after: always;
		width: 210mm;
		height: 297mm;
		background-size: cover;
		background-position: -5mm -4.8mm;
		position: relative;
	}