Overview
Comment:Invoice module: Include's cleaning part2 (custom_css)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | invoice_module
Files: files | file ages | folders
SHA3-256: cc56953ced796193a67a124dd6b1d74d7291479e86362eca0d6f042e965ed02e
User & Date: alinaar on 2023-03-24 14:06:40
Other Links: branch diff | manifest | tags
Context
2023-03-24
14:18
Invoice module: recipient_member_numero renamed check-in: d494d1d052 user: alinaar tags: invoice_module
14:06
Invoice module: Include's cleaning part2 (custom_css) check-in: cc56953ced user: alinaar tags: invoice_module
13:08
Invoice module: merge fix check-in: d48937c010 user: alinaar tags: invoice_module
Changes

Modified src/modules/invoice/action.html from [a573bf5dc0] to [d23a5681cc].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{#restrict section="accounting" level="write"}}

{{* ==================== Header ==================== *}}

{{:admin_header title="Devis et factures" current="acc"}}
{{:include file='./include/constants.tpl' keep='DRAFT_STATUS, AWAITING_STATUS, VALIDATED_STATUS, REJECTED_STATUS, PAID_STATUS, DOCUMENT_TYPES, CANCELLED_LABEL, TYPE_LABELS, STATUS_LABELS, INVOICE_STATUS_LABELS, QUOTATION_TYPE, INVOICE_TYPE, VERSION'}}

{{:include file='./include/style.tpl'}}

{{if $_GET.action === 'sign' || $_POST.signing_submit || $_GET.action === 'delete' || $_POST.reject_submit || $_POST.validate_submit || $_POST.mark_as_paid_submit || $_POST.cancel_submit || $_POST.duplicate_submit || $_POST.status_update_button}}
	{{:include file='./include/modification.controller.tpl' keep='check_errors'}}
{{elseif $_GET.id === null}}
	<p class="error block">Aucun document séléctionné.</p>
{{/if}}

{{#load id=$_GET.id|intval}}




|


<
<







1
2
3
4
5
6
7


8
9
10
11
12
13
14
{{#restrict section="accounting" level="write"}}

{{* ==================== Header ==================== *}}

{{:admin_header title="Devis et factures" current="acc" custom_css="./include/style.css"}}
{{:include file='./include/constants.tpl' keep='DRAFT_STATUS, AWAITING_STATUS, VALIDATED_STATUS, REJECTED_STATUS, PAID_STATUS, DOCUMENT_TYPES, CANCELLED_LABEL, TYPE_LABELS, STATUS_LABELS, INVOICE_STATUS_LABELS, QUOTATION_TYPE, INVOICE_TYPE, VERSION'}}



{{if $_GET.action === 'sign' || $_POST.signing_submit || $_GET.action === 'delete' || $_POST.reject_submit || $_POST.validate_submit || $_POST.mark_as_paid_submit || $_POST.cancel_submit || $_POST.duplicate_submit || $_POST.status_update_button}}
	{{:include file='./include/modification.controller.tpl' keep='check_errors'}}
{{elseif $_GET.id === null}}
	<p class="error block">Aucun document séléctionné.</p>
{{/if}}

{{#load id=$_GET.id|intval}}

Modified src/modules/invoice/customer.html from [89729b9519] to [b67069abbc].

1
2
3
4
5
6
7
8
9
10
11
12
13
{{#restrict section="accounting" level="read"}}

{{* ==================== Header ==================== *}}

{{:admin_header title="Devis et factures" current="acc"}}
{{:include file='./include/style.tpl'}}
{{:include file='./include/navigation.html'}}

{{:include file='./include/constants.tpl' keep='DRAFT_STATUS, AWAITING_STATUS, REJECTED_STATUS, VALIDATED_STATUS, MISC_STATUS, STATUS_LABELS, CANCELLED_LABEL, QUOTATION_TYPE'}}

{{* ==================== Listing ==================== *}}

<h2>Devis de "{{$_GET.id}}"</h2>




|
<







1
2
3
4
5

6
7
8
9
10
11
12
{{#restrict section="accounting" level="read"}}

{{* ==================== Header ==================== *}}

{{:admin_header title="Devis et factures" current="acc" custom_css="./include/style.css"}}

{{:include file='./include/navigation.html'}}

{{:include file='./include/constants.tpl' keep='DRAFT_STATUS, AWAITING_STATUS, REJECTED_STATUS, VALIDATED_STATUS, MISC_STATUS, STATUS_LABELS, CANCELLED_LABEL, QUOTATION_TYPE'}}

{{* ==================== Listing ==================== *}}

<h2>Devis de "{{$_GET.id}}"</h2>

Modified src/modules/invoice/customers.html from [ffcd2096a7] to [3efa470b66].

1
2
3
4
5
6
7
8
9
10
11
12
13
{{#restrict section="accounting" level="read"}}

{{* ==================== Header ==================== *}}

{{:admin_header title="Devis et factures" current="acc"}}
{{:include file='./include/style.tpl'}}
{{:include file='./include/navigation.html'}}
{{:include file='./include/constants.tpl' keep='DRAFT_STATUS, AWAITING_STATUS, VALIDATED_STATUS, REJECTED_STATUS'}}

{{* ==================== Listing ==================== *}}

{{#sql select='id' tables='module_data_invoice'}}
	{{:assign found=true}}




|
<







1
2
3
4
5

6
7
8
9
10
11
12
{{#restrict section="accounting" level="read"}}

{{* ==================== Header ==================== *}}

{{:admin_header title="Devis et factures" current="acc" custom_css="./include/style.css"}}

{{:include file='./include/navigation.html'}}
{{:include file='./include/constants.tpl' keep='DRAFT_STATUS, AWAITING_STATUS, VALIDATED_STATUS, REJECTED_STATUS'}}

{{* ==================== Listing ==================== *}}

{{#sql select='id' tables='module_data_invoice'}}
	{{:assign found=true}}

Modified src/modules/invoice/details.html from [491347429f] to [6ab842f439].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{{#restrict section="accounting" level="read"}}

{{* ==================== Header ==================== *}}

{{:admin_header title="Devis et factures" current="acc"}}
{{:include file='./include/constants.tpl' keep='DRAFT_STATUS, AWAITING_STATUS, VALIDATED_STATUS, REJECTED_STATUS, PAID_STATUS, DOCUMENT_TYPES, TYPE_LABELS, STATUS_LABELS, INVOICE_STATUS_LABELS, CANCELLED_LABEL, QUOTATION_TYPE, INVOICE_TYPE, VERSION'}}

{{:include file='./include/style.tpl'}}

{{if $_GET.id === null}}
	<p class="error block">Aucun document séléctionné.</p>
{{else}}
	{{#load id=$_GET.id|intval}}

		{{* ======================= Menu =========================== *}}
		




|


<
<







1
2
3
4
5
6
7


8
9
10
11
12
13
14
{{#restrict section="accounting" level="read"}}

{{* ==================== Header ==================== *}}

{{:admin_header title="Devis et factures" current="acc" custom_css="./include/style.css"}}
{{:include file='./include/constants.tpl' keep='DRAFT_STATUS, AWAITING_STATUS, VALIDATED_STATUS, REJECTED_STATUS, PAID_STATUS, DOCUMENT_TYPES, TYPE_LABELS, STATUS_LABELS, INVOICE_STATUS_LABELS, CANCELLED_LABEL, QUOTATION_TYPE, INVOICE_TYPE, VERSION'}}



{{if $_GET.id === null}}
	<p class="error block">Aucun document séléctionné.</p>
{{else}}
	{{#load id=$_GET.id|intval}}

		{{* ======================= Menu =========================== *}}
		

Modified src/modules/invoice/edit.html from [d43c14640a] to [532e5cc5fd].

1
2
3
4
5
6
7
8
9
10
11
12
13
{{#restrict section="accounting" level="write"}}

{{* ==================== Header ==================== *}}

{{:admin_header title="Devis et factures" current="acc"}}
{{:include file='./include/style.tpl'}}
{{:include file='./include/navigation.html'}}

{{:include file='./include/constants.tpl' keep='DRAFT_STATUS, AWAITING_STATUS, VALIDATED_STATUS, STATUS_LABELS, VERSION, QUOTATION_TYPE, NONPROFIT_VAT_EXEMPTION_TYPE'}}

{{if $_GET.id}}
	{{#load id=$_GET.id}}
		{{:assign .="document"}}




|
<







1
2
3
4
5

6
7
8
9
10
11
12
{{#restrict section="accounting" level="write"}}

{{* ==================== Header ==================== *}}

{{:admin_header title="Devis et factures" current="acc" custom_css="./include/style.css"}}

{{:include file='./include/navigation.html'}}

{{:include file='./include/constants.tpl' keep='DRAFT_STATUS, AWAITING_STATUS, VALIDATED_STATUS, STATUS_LABELS, VERSION, QUOTATION_TYPE, NONPROFIT_VAT_EXEMPTION_TYPE'}}

{{if $_GET.id}}
	{{#load id=$_GET.id}}
		{{:assign .="document"}}

Name change from src/modules/invoice/include/style.tpl to src/modules/invoice/include/style.css.

Modified src/modules/invoice/index.html from [0f31a9a13d] to [c3ef579800].

1
2
3
4
5
6
7
8
9
10
11
12
13
{{#restrict section="accounting" level="write"}}

{{* ==================== Header ==================== *}}

{{:admin_header title="Devis et factures" current="acc"}}
{{:include file='./include/style.tpl'}}
{{:include file='./include/navigation.html'}}

{{* ==================== Search ==================== *}}

{{if $_GET.q}}
	{{if $_GET.q|regexp_match:'/(^\d+$)|(^D[0-9]{1,6}$)|(^F[0-9]{1,6}$)/'}}
		{{:assign search_where="key LIKE :searched_id ESCAPE '!'" searched_id="%%%s%%"|args:$_GET.q}}




|
<







1
2
3
4
5

6
7
8
9
10
11
12
{{#restrict section="accounting" level="write"}}

{{* ==================== Header ==================== *}}

{{:admin_header title="Devis et factures" current="acc" custom_css="./include/style.css"}}

{{:include file='./include/navigation.html'}}

{{* ==================== Search ==================== *}}

{{if $_GET.q}}
	{{if $_GET.q|regexp_match:'/(^\d+$)|(^D[0-9]{1,6}$)|(^F[0-9]{1,6}$)/'}}
		{{:assign search_where="key LIKE :searched_id ESCAPE '!'" searched_id="%%%s%%"|args:$_GET.q}}