-
Notifications
You must be signed in to change notification settings - Fork 0
/
vars.default.php
61 lines (57 loc) · 1.63 KB
/
vars.default.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
<?php
/*
Copy this file to vars.php to set the variables of each user.
*/
$GLOBALS['users'] = array(
'user1' => array(
'authorName' => 'Marco Polo Ferrer',
'authorAddress1' => 'Carrer Verdaguer 51',
'authorAddress2' => '08015 Barcelona',
'authorNIF' => '7654321 K',
'authorMail' => 'info@nestor.cat',
'authorWeb' => 'www.nestor.cat',
'template' => 'template1.php',
'templateParams' => array(
'Factura' => array(
'date' => 'Data',
'invoiceNum' => 'Nº factura',
'subtotal' => 'Total bruto (€)',
'ivaPerc' => 'IVA (%)',
'iva' => 'Valor IVA (€)',
'total' => 'Valor Total (€)',
),
'Client' => array(
'clientName' => 'Nom client',
'clientCIF' => 'NIF/CIF client',
'clientAddress' => 'Adreça client linia 1',
'clientAddress2' => 'Adreça client linia 2',
),
),
),
'rubieanes' => array(
'authorName' => 'Pepe Rubianes',
'authorAddress1' => 'Carrer Valencia 51',
'authorAddress2' => '08015 Barcelona',
'authorNIF' => '3235235 K',
'authorMail' => 'info@nestor.cat',
'authorWeb' => 'www.nestor.cat',
'template' => 'template2.php',
'templateParams' => array(
'Factura' => array(
'date' => 'Data',
'invoiceNum' => 'Nº factura',
'subtotal' => 'Total bruto (€)',
'ivaPerc' => 'IVA (%)',
'iva' => 'Valor IVA (€)',
'total' => 'Valor Total (€)',
),
'Client' => array(
'clientName' => 'Nom client',
'clientCIF' => 'NIF/CIF client',
'clientAdress' => 'Adreça client linia 1',
'clientAdress2' => 'Adreça client linia 2',
),
),
),
);
$GLOBALS['defaultUser'] = 'user1';