Files
assetmgt/settings/countries.php
“VeLiTi” 3db13b9ebf feat: Enhance software tool with country selection and tax calculation
- Added a helper function to generate country select options in software tool.
- Updated user info modal and payment modal to use country dropdowns instead of text inputs.
- Implemented tax calculation based on selected country in payment modal.
- Improved software options loading behavior in debug mode.
- Enhanced description formatting in payment modal.
- Added log modal for equipment updates with a link to view logs.
- Introduced a new countries settings file with tax rates for various countries.
- Minor adjustments to various PHP files for better handling of equipment and payment processes.
2026-01-16 16:01:31 +01:00

149 lines
7.7 KiB
PHP

<?php
// Auto-generated countries file from taxes API
// Generated on: 2026-01-16 14:21:38
$countries = [
1 => ['country' => 'Austria', 'taxes' => 20.00],
2 => ['country' => 'Belgium', 'taxes' => 21.00],
3 => ['country' => 'Bulgaria', 'taxes' => 20.00],
4 => ['country' => 'Croatia', 'taxes' => 25.00],
5 => ['country' => 'Cyprus', 'taxes' => 19.00],
6 => ['country' => 'Czech Republic', 'taxes' => 21.00],
7 => ['country' => 'Denmark', 'taxes' => 25.00],
8 => ['country' => 'Estonia', 'taxes' => 24.00],
9 => ['country' => 'Finland', 'taxes' => 25.50],
10 => ['country' => 'France', 'taxes' => 20.00],
11 => ['country' => 'Germany', 'taxes' => 19.00],
12 => ['country' => 'Greece', 'taxes' => 24.00],
13 => ['country' => 'Hungary', 'taxes' => 27.00],
14 => ['country' => 'Ireland', 'taxes' => 23.00],
15 => ['country' => 'Italy', 'taxes' => 22.00],
16 => ['country' => 'Latvia', 'taxes' => 21.00],
17 => ['country' => 'Lithuania', 'taxes' => 21.00],
18 => ['country' => 'Luxembourg', 'taxes' => 16.00],
19 => ['country' => 'Malta', 'taxes' => 18.00],
20 => ['country' => 'Netherlands', 'taxes' => 21.00],
21 => ['country' => 'Poland', 'taxes' => 23.00],
22 => ['country' => 'Portugal', 'taxes' => 23.00],
23 => ['country' => 'Romania', 'taxes' => 19.00],
24 => ['country' => 'Slovakia', 'taxes' => 23.00],
25 => ['country' => 'Slovenia', 'taxes' => 22.00],
26 => ['country' => 'Spain', 'taxes' => 21.00],
27 => ['country' => 'Sweden', 'taxes' => 25.00],
28 => ['country' => 'United Kingdom', 'taxes' => 20.00],
29 => ['country' => 'Switzerland', 'taxes' => 8.10],
30 => ['country' => 'Norway', 'taxes' => 25.00],
31 => ['country' => 'Iceland', 'taxes' => 24.00],
32 => ['country' => 'Albania', 'taxes' => 20.00],
33 => ['country' => 'Serbia', 'taxes' => 20.00],
34 => ['country' => 'North Macedonia', 'taxes' => 18.00],
35 => ['country' => 'Bosnia and Herzegovina', 'taxes' => 17.00],
36 => ['country' => 'Montenegro', 'taxes' => 21.00],
37 => ['country' => 'Moldova', 'taxes' => 20.00],
38 => ['country' => 'Ukraine', 'taxes' => 20.00],
39 => ['country' => 'Belarus', 'taxes' => 20.00],
40 => ['country' => 'Turkey', 'taxes' => 20.00],
41 => ['country' => 'Andorra', 'taxes' => 4.50],
42 => ['country' => 'Australia', 'taxes' => 10.00],
43 => ['country' => 'New Zealand', 'taxes' => 15.00],
44 => ['country' => 'Japan', 'taxes' => 10.00],
45 => ['country' => 'China', 'taxes' => 13.00],
46 => ['country' => 'India', 'taxes' => 18.00],
47 => ['country' => 'South Korea', 'taxes' => 10.00],
48 => ['country' => 'Singapore', 'taxes' => 9.00],
49 => ['country' => 'Indonesia', 'taxes' => 11.00],
50 => ['country' => 'Thailand', 'taxes' => 7.00],
51 => ['country' => 'Vietnam', 'taxes' => 8.00],
52 => ['country' => 'Philippines', 'taxes' => 12.00],
53 => ['country' => 'Malaysia', 'taxes' => 0.00],
54 => ['country' => 'Taiwan', 'taxes' => 5.00],
55 => ['country' => 'Pakistan', 'taxes' => 18.00],
56 => ['country' => 'Bangladesh', 'taxes' => 15.00],
57 => ['country' => 'Sri Lanka', 'taxes' => 18.00],
58 => ['country' => 'Nepal', 'taxes' => 13.00],
59 => ['country' => 'Cambodia', 'taxes' => 10.00],
60 => ['country' => 'Myanmar', 'taxes' => 5.00],
61 => ['country' => 'Laos', 'taxes' => 10.00],
62 => ['country' => 'Mongolia', 'taxes' => 10.00],
63 => ['country' => 'Kazakhstan', 'taxes' => 12.00],
64 => ['country' => 'Uzbekistan', 'taxes' => 12.00],
65 => ['country' => 'Armenia', 'taxes' => 20.00],
66 => ['country' => 'Georgia', 'taxes' => 18.00],
67 => ['country' => 'Azerbaijan', 'taxes' => 18.00],
68 => ['country' => 'Fiji', 'taxes' => 9.00],
69 => ['country' => 'Papua New Guinea', 'taxes' => 10.00],
70 => ['country' => 'Samoa', 'taxes' => 15.00],
71 => ['country' => 'Tonga', 'taxes' => 15.00],
72 => ['country' => 'Vanuatu', 'taxes' => 15.00],
73 => ['country' => 'Bhutan', 'taxes' => 7.00],
74 => ['country' => 'Saudi Arabia', 'taxes' => 15.00],
75 => ['country' => 'United Arab Emirates', 'taxes' => 5.00],
76 => ['country' => 'Bahrain', 'taxes' => 10.00],
77 => ['country' => 'Kuwait', 'taxes' => 0.00],
78 => ['country' => 'Oman', 'taxes' => 5.00],
79 => ['country' => 'Qatar', 'taxes' => 0.00],
80 => ['country' => 'Israel', 'taxes' => 17.00],
81 => ['country' => 'Jordan', 'taxes' => 16.00],
82 => ['country' => 'Lebanon', 'taxes' => 11.00],
83 => ['country' => 'Egypt', 'taxes' => 14.00],
85 => ['country' => 'South Africa', 'taxes' => 15.00],
86 => ['country' => 'Nigeria', 'taxes' => 7.50],
87 => ['country' => 'Kenya', 'taxes' => 16.00],
88 => ['country' => 'Ghana', 'taxes' => 15.00],
89 => ['country' => 'Morocco', 'taxes' => 20.00],
90 => ['country' => 'Tunisia', 'taxes' => 19.00],
91 => ['country' => 'Algeria', 'taxes' => 19.00],
92 => ['country' => 'Egypt', 'taxes' => 14.00],
93 => ['country' => 'Ethiopia', 'taxes' => 15.00],
94 => ['country' => 'Tanzania', 'taxes' => 18.00],
95 => ['country' => 'Uganda', 'taxes' => 18.00],
96 => ['country' => 'Zimbabwe', 'taxes' => 15.00],
97 => ['country' => 'Zambia', 'taxes' => 16.00],
98 => ['country' => 'Botswana', 'taxes' => 14.00],
99 => ['country' => 'Mauritius', 'taxes' => 15.00],
100 => ['country' => 'Namibia', 'taxes' => 15.00],
101 => ['country' => 'Rwanda', 'taxes' => 18.00],
102 => ['country' => 'Senegal', 'taxes' => 18.00],
103 => ['country' => 'Ivory Coast', 'taxes' => 18.00],
104 => ['country' => 'Cameroon', 'taxes' => 19.25],
105 => ['country' => 'Angola', 'taxes' => 14.00],
106 => ['country' => 'Mozambique', 'taxes' => 16.00],
107 => ['country' => 'Madagascar', 'taxes' => 20.00],
108 => ['country' => 'Mali', 'taxes' => 18.00],
109 => ['country' => 'Burkina Faso', 'taxes' => 18.00],
110 => ['country' => 'Niger', 'taxes' => 19.00],
111 => ['country' => 'Benin', 'taxes' => 18.00],
112 => ['country' => 'Togo', 'taxes' => 18.00],
113 => ['country' => 'Guinea', 'taxes' => 18.00],
114 => ['country' => 'Malawi', 'taxes' => 16.50],
115 => ['country' => 'Gabon', 'taxes' => 18.00],
116 => ['country' => 'Mauritania', 'taxes' => 16.00],
117 => ['country' => 'Lesotho', 'taxes' => 15.00],
118 => ['country' => 'Eswatini', 'taxes' => 15.00],
119 => ['country' => 'Liberia', 'taxes' => 18.00],
120 => ['country' => 'Canada', 'taxes' => 5.00],
121 => ['country' => 'United States', 'taxes' => 10.00],
122 => ['country' => 'Mexico', 'taxes' => 16.00],
123 => ['country' => 'Argentina', 'taxes' => 21.00],
124 => ['country' => 'Brazil', 'taxes' => 17.00],
125 => ['country' => 'Chile', 'taxes' => 19.00],
126 => ['country' => 'Colombia', 'taxes' => 19.00],
127 => ['country' => 'Peru', 'taxes' => 18.00],
128 => ['country' => 'Ecuador', 'taxes' => 15.00],
129 => ['country' => 'Uruguay', 'taxes' => 22.00],
130 => ['country' => 'Paraguay', 'taxes' => 10.00],
131 => ['country' => 'Bolivia', 'taxes' => 13.00],
132 => ['country' => 'Venezuela', 'taxes' => 16.00],
133 => ['country' => 'Costa Rica', 'taxes' => 13.00],
134 => ['country' => 'Panama', 'taxes' => 7.00],
135 => ['country' => 'Guatemala', 'taxes' => 12.00],
136 => ['country' => 'Honduras', 'taxes' => 15.00],
137 => ['country' => 'El Salvador', 'taxes' => 13.00],
138 => ['country' => 'Nicaragua', 'taxes' => 15.00],
139 => ['country' => 'Dominican Republic', 'taxes' => 18.00],
140 => ['country' => 'Jamaica', 'taxes' => 15.00],
141 => ['country' => 'Trinidad and Tobago', 'taxes' => 12.50],
142 => ['country' => 'Barbados', 'taxes' => 17.50],
143 => ['country' => 'Bahamas', 'taxes' => 10.00],
];