diff --git a/Admin/Install/taxcodes.json b/Admin/Install/taxcodes.json index c5d7d06..b36e59f 100755 --- a/Admin/Install/taxcodes.json +++ b/Admin/Install/taxcodes.json @@ -70,9 +70,9 @@ }, "DE_V07": { "abbr": "DE_V07", - "percentage_invoice": 700, - "percentage_sales_tax": 700, - "percentage_input_tax": 700, + "percentage_invoice": 70000, + "percentage_sales_tax": 70000, + "percentage_input_tax": 70000, "tax_report": { "base": null, "amount": 43 @@ -89,9 +89,9 @@ }, "DE_V19": { "abbr": "DE_V19", - "percentage_invoice": 1900, - "percentage_sales_tax": 1900, - "percentage_input_tax": 1900, + "percentage_invoice": 190000, + "percentage_sales_tax": 190000, + "percentage_input_tax": 190000, "tax_report": { "base": null, "amount": 43 @@ -127,9 +127,9 @@ }, "DE_M07": { "abbr": "DE_M07", - "percentage_invoice": 700, - "percentage_sales_tax": 700, - "percentage_input_tax": 700, + "percentage_invoice": 70000, + "percentage_sales_tax": 70000, + "percentage_input_tax": 70000, "tax_report": { "base": null, "amount": 43 @@ -146,9 +146,9 @@ }, "DE_M19": { "abbr": "DE_M19", - "percentage_invoice": 1900, - "percentage_sales_tax": 1900, - "percentage_input_tax": 1900, + "percentage_invoice": 190000, + "percentage_sales_tax": 190000, + "percentage_input_tax": 190000, "tax_report": { "base": null, "amount": 43 @@ -166,8 +166,8 @@ "DE_E19": { "abbr": "DE_E19", "percentage_invoice": 0, - "percentage_sales_tax": 1900, - "percentage_input_tax": 1900, + "percentage_sales_tax": 190000, + "percentage_input_tax": 190000, "tax_report": { "base": null, "amount": 43 @@ -215,9 +215,9 @@ "AT_S20": { "abbr": "AT_S20", - "percentage_invoice": 2000, - "percentage_sales_tax": 2000, - "percentage_input_tax": 2000, + "percentage_invoice": 200000, + "percentage_sales_tax": 200000, + "percentage_input_tax": 200000, "tax_report": { "base": null, "amount": 43 @@ -238,9 +238,9 @@ }, "AT_S13": { "abbr": "AT_S13", - "percentage_invoice": 1300, - "percentage_sales_tax": 1300, - "percentage_input_tax": 1300, + "percentage_invoice": 130000, + "percentage_sales_tax": 130000, + "percentage_input_tax": 130000, "tax_report": { "base": null, "amount": 43 @@ -261,9 +261,9 @@ }, "AT_S10": { "abbr": "AT_S10", - "percentage_invoice": 1000, - "percentage_sales_tax": 1000, - "percentage_input_tax": 1000, + "percentage_invoice": 100000, + "percentage_sales_tax": 100000, + "percentage_input_tax": 100000, "tax_report": { "base": null, "amount": 43 @@ -307,9 +307,9 @@ }, "BE_S21": { "abbr": "BE_S21", - "percentage_invoice": 2100, - "percentage_sales_tax": 2100, - "percentage_input_tax": 2100, + "percentage_invoice": 210000, + "percentage_sales_tax": 210000, + "percentage_input_tax": 210000, "tax_report": { "base": null, "amount": 43 @@ -330,9 +330,9 @@ }, "BE_S12": { "abbr": "BE_S12", - "percentage_invoice": 1200, - "percentage_sales_tax": 1200, - "percentage_input_tax": 1200, + "percentage_invoice": 120000, + "percentage_sales_tax": 120000, + "percentage_input_tax": 120000, "tax_report": { "base": null, "amount": 43 @@ -353,9 +353,9 @@ }, "BE_S6": { "abbr": "BE_S6", - "percentage_invoice": 600, - "percentage_sales_tax": 600, - "percentage_input_tax": 600, + "percentage_invoice": 60000, + "percentage_sales_tax": 60000, + "percentage_input_tax": 60000, "tax_report": { "base": null, "amount": 43 @@ -399,9 +399,9 @@ }, "BG_S20": { "abbr": "BG_S20", - "percentage_invoice": 2000, - "percentage_sales_tax": 2000, - "percentage_input_tax": 2000, + "percentage_invoice": 200000, + "percentage_sales_tax": 200000, + "percentage_input_tax": 200000, "tax_report": { "base": null, "amount": 43 @@ -422,9 +422,9 @@ }, "BG_S21": { "abbr": "BG_S21", - "percentage_invoice": 2100, - "percentage_sales_tax": 2100, - "percentage_input_tax": 2100, + "percentage_invoice": 210000, + "percentage_sales_tax": 210000, + "percentage_input_tax": 210000, "tax_report": { "base": null, "amount": 43 @@ -445,9 +445,9 @@ }, "BG_S10": { "abbr": "BG_S10", - "percentage_invoice": 1000, - "percentage_sales_tax": 1000, - "percentage_input_tax": 1000, + "percentage_invoice": 100000, + "percentage_sales_tax": 100000, + "percentage_input_tax": 100000, "tax_report": { "base": null, "amount": 43 @@ -468,9 +468,9 @@ }, "BG_S9": { "abbr": "BG_S9", - "percentage_invoice": 900, - "percentage_sales_tax": 900, - "percentage_input_tax": 900, + "percentage_invoice": 90000, + "percentage_sales_tax": 90000, + "percentage_input_tax": 90000, "tax_report": { "base": null, "amount": 43 @@ -514,9 +514,9 @@ }, "HR_S25": { "abbr": "HR_S25", - "percentage_invoice": 2500, - "percentage_sales_tax": 2500, - "percentage_input_tax": 2500, + "percentage_invoice": 250000, + "percentage_sales_tax": 250000, + "percentage_input_tax": 250000, "tax_report": { "base": null, "amount": 43 @@ -537,9 +537,9 @@ }, "HR_S13": { "abbr": "HR_S13", - "percentage_invoice": 1300, - "percentage_sales_tax": 1300, - "percentage_input_tax": 1300, + "percentage_invoice": 130000, + "percentage_sales_tax": 130000, + "percentage_input_tax": 130000, "tax_report": { "base": null, "amount": 43 @@ -560,9 +560,9 @@ }, "HR_S5": { "abbr": "HR_S5", - "percentage_invoice": 500, - "percentage_sales_tax": 500, - "percentage_input_tax": 500, + "percentage_invoice": 50000, + "percentage_sales_tax": 50000, + "percentage_input_tax": 50000, "tax_report": { "base": null, "amount": 43 @@ -606,9 +606,9 @@ }, "CY_S19": { "abbr": "CY_S19", - "percentage_invoice": 1900, - "percentage_sales_tax": 1900, - "percentage_input_tax": 1900, + "percentage_invoice": 190000, + "percentage_sales_tax": 190000, + "percentage_input_tax": 190000, "tax_report": { "base": null, "amount": 43 @@ -629,9 +629,9 @@ }, "CY_S9": { "abbr": "CY_S9", - "percentage_invoice": 900, - "percentage_sales_tax": 900, - "percentage_input_tax": 900, + "percentage_invoice": 90000, + "percentage_sales_tax": 90000, + "percentage_input_tax": 90000, "tax_report": { "base": null, "amount": 43 @@ -652,9 +652,9 @@ }, "CY_S5": { "abbr": "CY_S5", - "percentage_invoice": 500, - "percentage_sales_tax": 500, - "percentage_input_tax": 500, + "percentage_invoice": 50000, + "percentage_sales_tax": 50000, + "percentage_input_tax": 50000, "tax_report": { "base": null, "amount": 43 @@ -698,9 +698,9 @@ }, "CZ_S21": { "abbr": "CZ_S21", - "percentage_invoice": 2100, - "percentage_sales_tax": 2100, - "percentage_input_tax": 2100, + "percentage_invoice": 210000, + "percentage_sales_tax": 210000, + "percentage_input_tax": 210000, "tax_report": { "base": null, "amount": 43 @@ -721,9 +721,9 @@ }, "CZ_S15": { "abbr": "CZ_S15", - "percentage_invoice": 1500, - "percentage_sales_tax": 1500, - "percentage_input_tax": 1500, + "percentage_invoice": 150000, + "percentage_sales_tax": 150000, + "percentage_input_tax": 150000, "tax_report": { "base": null, "amount": 43 @@ -744,9 +744,9 @@ }, "CZ_S10": { "abbr": "CZ_S10", - "percentage_invoice": 1000, - "percentage_sales_tax": 1000, - "percentage_input_tax": 1000, + "percentage_invoice": 100000, + "percentage_sales_tax": 100000, + "percentage_input_tax": 100000, "tax_report": { "base": null, "amount": 43 @@ -790,9 +790,9 @@ }, "DK_S25": { "abbr": "DK_S25", - "percentage_invoice": 2500, - "percentage_sales_tax": 2500, - "percentage_input_tax": 2500, + "percentage_invoice": 250000, + "percentage_sales_tax": 250000, + "percentage_input_tax": 250000, "tax_report": { "base": null, "amount": 43 @@ -836,9 +836,9 @@ }, "EE_S20": { "abbr": "EE_S20", - "percentage_invoice": 2000, - "percentage_sales_tax": 2000, - "percentage_input_tax": 2000, + "percentage_invoice": 200000, + "percentage_sales_tax": 200000, + "percentage_input_tax": 200000, "tax_report": { "base": null, "amount": 43 @@ -859,9 +859,9 @@ }, "EE_S9": { "abbr": "EE_S9", - "percentage_invoice": 900, - "percentage_sales_tax": 900, - "percentage_input_tax": 900, + "percentage_invoice": 90000, + "percentage_sales_tax": 90000, + "percentage_input_tax": 90000, "tax_report": { "base": null, "amount": 43 @@ -905,9 +905,9 @@ }, "FI_S24": { "abbr": "FI_S24", - "percentage_invoice": 2400, - "percentage_sales_tax": 2400, - "percentage_input_tax": 2400, + "percentage_invoice": 240000, + "percentage_sales_tax": 240000, + "percentage_input_tax": 240000, "tax_report": { "base": null, "amount": 43 @@ -928,9 +928,9 @@ }, "FI_S14": { "abbr": "FI_S14", - "percentage_invoice": 1400, - "percentage_sales_tax": 1400, - "percentage_input_tax": 1400, + "percentage_invoice": 140000, + "percentage_sales_tax": 140000, + "percentage_input_tax": 140000, "tax_report": { "base": null, "amount": 43 @@ -951,9 +951,9 @@ }, "FI_S10": { "abbr": "FI_S10", - "percentage_invoice": 1000, - "percentage_sales_tax": 1000, - "percentage_input_tax": 1000, + "percentage_invoice": 100000, + "percentage_sales_tax": 100000, + "percentage_input_tax": 100000, "tax_report": { "base": null, "amount": 43 @@ -997,9 +997,9 @@ }, "FR_S20": { "abbr": "FR_S20", - "percentage_invoice": 2000, - "percentage_sales_tax": 2000, - "percentage_input_tax": 2000, + "percentage_invoice": 200000, + "percentage_sales_tax": 200000, + "percentage_input_tax": 200000, "tax_report": { "base": null, "amount": 43 @@ -1020,9 +1020,9 @@ }, "FR_S10": { "abbr": "FR_S10", - "percentage_invoice": 1000, - "percentage_sales_tax": 1000, - "percentage_input_tax": 1000, + "percentage_invoice": 100000, + "percentage_sales_tax": 100000, + "percentage_input_tax": 100000, "tax_report": { "base": null, "amount": 43 @@ -1043,9 +1043,9 @@ }, "FR_S5.5": { "abbr": "FR_S5.5", - "percentage_invoice": 550, - "percentage_sales_tax": 550, - "percentage_input_tax": 550, + "percentage_invoice": 55000, + "percentage_sales_tax": 55000, + "percentage_input_tax": 55000, "tax_report": { "base": null, "amount": 43 @@ -1066,9 +1066,9 @@ }, "FR_S2.1": { "abbr": "FR_S2.1", - "percentage_invoice": 210, - "percentage_sales_tax": 210, - "percentage_input_tax": 210, + "percentage_invoice": 21000, + "percentage_sales_tax": 21000, + "percentage_input_tax": 21000, "tax_report": { "base": null, "amount": 43 @@ -1112,9 +1112,9 @@ }, "DE_S19": { "abbr": "DE_S19", - "percentage_invoice": 1900, - "percentage_sales_tax": 1900, - "percentage_input_tax": 1900, + "percentage_invoice": 190000, + "percentage_sales_tax": 190000, + "percentage_input_tax": 190000, "tax_report": { "base": null, "amount": 43 @@ -1135,9 +1135,9 @@ }, "DE_S7": { "abbr": "DE_S7", - "percentage_invoice": 700, - "percentage_sales_tax": 700, - "percentage_input_tax": 700, + "percentage_invoice": 70000, + "percentage_sales_tax": 70000, + "percentage_input_tax": 70000, "tax_report": { "base": null, "amount": 43 @@ -1181,9 +1181,9 @@ }, "GR_S24": { "abbr": "GR_S24", - "percentage_invoice": 2400, - "percentage_sales_tax": 2400, - "percentage_input_tax": 2400, + "percentage_invoice": 240000, + "percentage_sales_tax": 240000, + "percentage_input_tax": 240000, "tax_report": { "base": null, "amount": 43 @@ -1204,9 +1204,9 @@ }, "GR_S13": { "abbr": "GR_S13", - "percentage_invoice": 1300, - "percentage_sales_tax": 1300, - "percentage_input_tax": 1300, + "percentage_invoice": 130000, + "percentage_sales_tax": 130000, + "percentage_input_tax": 130000, "tax_report": { "base": null, "amount": 43 @@ -1227,9 +1227,9 @@ }, "GR_S6": { "abbr": "GR_S6", - "percentage_invoice": 600, - "percentage_sales_tax": 600, - "percentage_input_tax": 600, + "percentage_invoice": 60000, + "percentage_sales_tax": 60000, + "percentage_input_tax": 60000, "tax_report": { "base": null, "amount": 43 @@ -1273,9 +1273,9 @@ }, "HU_S27": { "abbr": "HU_S27", - "percentage_invoice": 2700, - "percentage_sales_tax": 2700, - "percentage_input_tax": 2700, + "percentage_invoice": 270000, + "percentage_sales_tax": 270000, + "percentage_input_tax": 270000, "tax_report": { "base": null, "amount": 43 @@ -1296,9 +1296,9 @@ }, "HU_S18": { "abbr": "HU_S18", - "percentage_invoice": 1800, - "percentage_sales_tax": 1800, - "percentage_input_tax": 1800, + "percentage_invoice": 180000, + "percentage_sales_tax": 180000, + "percentage_input_tax": 180000, "tax_report": { "base": null, "amount": 43 @@ -1319,9 +1319,9 @@ }, "HU_S5": { "abbr": "HU_S5", - "percentage_invoice": 500, - "percentage_sales_tax": 500, - "percentage_input_tax": 500, + "percentage_invoice": 50000, + "percentage_sales_tax": 50000, + "percentage_input_tax": 50000, "tax_report": { "base": null, "amount": 43 @@ -1365,9 +1365,9 @@ }, "IE_S23": { "abbr": "IE_S23", - "percentage_invoice": 2300, - "percentage_sales_tax": 2300, - "percentage_input_tax": 2300, + "percentage_invoice": 230000, + "percentage_sales_tax": 230000, + "percentage_input_tax": 230000, "tax_report": { "base": null, "amount": 43 @@ -1388,9 +1388,9 @@ }, "IE_S13.5": { "abbr": "IE_S13.5", - "percentage_invoice": 1350, - "percentage_sales_tax": 1350, - "percentage_input_tax": 1350, + "percentage_invoice": 135000, + "percentage_sales_tax": 135000, + "percentage_input_tax": 135000, "tax_report": { "base": null, "amount": 43 @@ -1411,9 +1411,9 @@ }, "IE_S9": { "abbr": "IE_S9", - "percentage_invoice": 900, - "percentage_sales_tax": 900, - "percentage_input_tax": 900, + "percentage_invoice": 90000, + "percentage_sales_tax": 90000, + "percentage_input_tax": 90000, "tax_report": { "base": null, "amount": 43 @@ -1434,9 +1434,9 @@ }, "IE_S4.8": { "abbr": "IE_S4.8", - "percentage_invoice": 480, - "percentage_sales_tax": 480, - "percentage_input_tax": 480, + "percentage_invoice": 48000, + "percentage_sales_tax": 48000, + "percentage_input_tax": 48000, "tax_report": { "base": null, "amount": 43 @@ -1480,9 +1480,9 @@ }, "IT_S22": { "abbr": "IT_S22", - "percentage_invoice": 2200, - "percentage_sales_tax": 2200, - "percentage_input_tax": 2200, + "percentage_invoice": 220000, + "percentage_sales_tax": 220000, + "percentage_input_tax": 220000, "tax_report": { "base": null, "amount": 43 @@ -1503,9 +1503,9 @@ }, "IT_S10": { "abbr": "IT_S10", - "percentage_invoice": 1000, - "percentage_sales_tax": 1000, - "percentage_input_tax": 1000, + "percentage_invoice": 100000, + "percentage_sales_tax": 100000, + "percentage_input_tax": 100000, "tax_report": { "base": null, "amount": 43 @@ -1526,9 +1526,9 @@ }, "IT_S5": { "abbr": "IT_S5", - "percentage_invoice": 500, - "percentage_sales_tax": 500, - "percentage_input_tax": 500, + "percentage_invoice": 50000, + "percentage_sales_tax": 50000, + "percentage_input_tax": 50000, "tax_report": { "base": null, "amount": 43 @@ -1549,9 +1549,9 @@ }, "IT_S4": { "abbr": "IT_S4", - "percentage_invoice": 400, - "percentage_sales_tax": 400, - "percentage_input_tax": 400, + "percentage_invoice": 40000, + "percentage_sales_tax": 40000, + "percentage_input_tax": 40000, "tax_report": { "base": null, "amount": 43 @@ -1595,9 +1595,9 @@ }, "LV_S21": { "abbr": "LV_S21", - "percentage_invoice": 2100, - "percentage_sales_tax": 2100, - "percentage_input_tax": 2100, + "percentage_invoice": 210000, + "percentage_sales_tax": 210000, + "percentage_input_tax": 210000, "tax_report": { "base": null, "amount": 43 @@ -1618,9 +1618,9 @@ }, "LV_S12": { "abbr": "LV_S12", - "percentage_invoice": 1200, - "percentage_sales_tax": 1200, - "percentage_input_tax": 1200, + "percentage_invoice": 120000, + "percentage_sales_tax": 120000, + "percentage_input_tax": 120000, "tax_report": { "base": null, "amount": 43 @@ -1641,9 +1641,9 @@ }, "LV_S5": { "abbr": "LV_S5", - "percentage_invoice": 500, - "percentage_sales_tax": 500, - "percentage_input_tax": 500, + "percentage_invoice": 50000, + "percentage_sales_tax": 50000, + "percentage_input_tax": 50000, "tax_report": { "base": null, "amount": 43 @@ -1687,9 +1687,9 @@ }, "LT_S21": { "abbr": "LT_S21", - "percentage_invoice": 2100, - "percentage_sales_tax": 2100, - "percentage_input_tax": 2100, + "percentage_invoice": 210000, + "percentage_sales_tax": 210000, + "percentage_input_tax": 210000, "tax_report": { "base": null, "amount": 43 @@ -1710,9 +1710,9 @@ }, "LT_S9": { "abbr": "LT_S9", - "percentage_invoice": 900, - "percentage_sales_tax": 900, - "percentage_input_tax": 900, + "percentage_invoice": 90000, + "percentage_sales_tax": 90000, + "percentage_input_tax": 90000, "tax_report": { "base": null, "amount": 43 @@ -1733,9 +1733,9 @@ }, "LT_S5": { "abbr": "LT_S5", - "percentage_invoice": 500, - "percentage_sales_tax": 500, - "percentage_input_tax": 500, + "percentage_invoice": 50000, + "percentage_sales_tax": 50000, + "percentage_input_tax": 50000, "tax_report": { "base": null, "amount": 43 @@ -1779,9 +1779,9 @@ }, "LU_S17": { "abbr": "LU_S17", - "percentage_invoice": 1700, - "percentage_sales_tax": 1700, - "percentage_input_tax": 1700, + "percentage_invoice": 170000, + "percentage_sales_tax": 170000, + "percentage_input_tax": 170000, "tax_report": { "base": null, "amount": 43 @@ -1802,9 +1802,9 @@ }, "LU_S14": { "abbr": "LU_S14", - "percentage_invoice": 1400, - "percentage_sales_tax": 1400, - "percentage_input_tax": 1400, + "percentage_invoice": 140000, + "percentage_sales_tax": 140000, + "percentage_input_tax": 140000, "tax_report": { "base": null, "amount": 43 @@ -1825,9 +1825,9 @@ }, "LU_S8": { "abbr": "LU_S8", - "percentage_invoice": 800, - "percentage_sales_tax": 800, - "percentage_input_tax": 800, + "percentage_invoice": 80000, + "percentage_sales_tax": 80000, + "percentage_input_tax": 80000, "tax_report": { "base": null, "amount": 43 @@ -1848,9 +1848,9 @@ }, "LU_S3": { "abbr": "LU_S3", - "percentage_invoice": 300, - "percentage_sales_tax": 300, - "percentage_input_tax": 300, + "percentage_invoice": 30000, + "percentage_sales_tax": 30000, + "percentage_input_tax": 30000, "tax_report": { "base": null, "amount": 43 @@ -1894,9 +1894,9 @@ }, "MT_S18": { "abbr": "MT_S18", - "percentage_invoice": 1800, - "percentage_sales_tax": 1800, - "percentage_input_tax": 1800, + "percentage_invoice": 180000, + "percentage_sales_tax": 180000, + "percentage_input_tax": 180000, "tax_report": { "base": null, "amount": 43 @@ -1917,9 +1917,9 @@ }, "MT_S7": { "abbr": "MT_S7", - "percentage_invoice": 700, - "percentage_sales_tax": 700, - "percentage_input_tax": 700, + "percentage_invoice": 70000, + "percentage_sales_tax": 70000, + "percentage_input_tax": 70000, "tax_report": { "base": null, "amount": 43 @@ -1940,9 +1940,9 @@ }, "MT_S5": { "abbr": "MT_S5", - "percentage_invoice": 500, - "percentage_sales_tax": 500, - "percentage_input_tax": 500, + "percentage_invoice": 50000, + "percentage_sales_tax": 50000, + "percentage_input_tax": 50000, "tax_report": { "base": null, "amount": 43 @@ -1986,9 +1986,9 @@ }, "NL_S21": { "abbr": "NL_S21", - "percentage_invoice": 2100, - "percentage_sales_tax": 2100, - "percentage_input_tax": 2100, + "percentage_invoice": 210000, + "percentage_sales_tax": 210000, + "percentage_input_tax": 210000, "tax_report": { "base": null, "amount": 43 @@ -2009,9 +2009,9 @@ }, "NL_S9": { "abbr": "NL_S9", - "percentage_invoice": 900, - "percentage_sales_tax": 900, - "percentage_input_tax": 900, + "percentage_invoice": 90000, + "percentage_sales_tax": 90000, + "percentage_input_tax": 90000, "tax_report": { "base": null, "amount": 43 @@ -2055,9 +2055,9 @@ }, "PL_S23": { "abbr": "PL_S23", - "percentage_invoice": 2300, - "percentage_sales_tax": 2300, - "percentage_input_tax": 2300, + "percentage_invoice": 230000, + "percentage_sales_tax": 230000, + "percentage_input_tax": 230000, "tax_report": { "base": null, "amount": 43 @@ -2078,9 +2078,9 @@ }, "PL_S8": { "abbr": "PL_S8", - "percentage_invoice": 800, - "percentage_sales_tax": 800, - "percentage_input_tax": 800, + "percentage_invoice": 80000, + "percentage_sales_tax": 80000, + "percentage_input_tax": 80000, "tax_report": { "base": null, "amount": 43 @@ -2101,9 +2101,9 @@ }, "PL_S5": { "abbr": "PL_S5", - "percentage_invoice": 500, - "percentage_sales_tax": 500, - "percentage_input_tax": 500, + "percentage_invoice": 50000, + "percentage_sales_tax": 50000, + "percentage_input_tax": 50000, "tax_report": { "base": null, "amount": 43 @@ -2147,9 +2147,9 @@ }, "PT_S23": { "abbr": "PT_S23", - "percentage_invoice": 2300, - "percentage_sales_tax": 2300, - "percentage_input_tax": 2300, + "percentage_invoice": 230000, + "percentage_sales_tax": 230000, + "percentage_input_tax": 230000, "tax_report": { "base": null, "amount": 43 @@ -2170,9 +2170,9 @@ }, "PT_S13": { "abbr": "PT_S13", - "percentage_invoice": 1300, - "percentage_sales_tax": 1300, - "percentage_input_tax": 1300, + "percentage_invoice": 130000, + "percentage_sales_tax": 130000, + "percentage_input_tax": 130000, "tax_report": { "base": null, "amount": 43 @@ -2193,9 +2193,9 @@ }, "PT_S6": { "abbr": "PT_S6", - "percentage_invoice": 600, - "percentage_sales_tax": 600, - "percentage_input_tax": 600, + "percentage_invoice": 60000, + "percentage_sales_tax": 60000, + "percentage_input_tax": 60000, "tax_report": { "base": null, "amount": 43 @@ -2239,9 +2239,9 @@ }, "RO_S19": { "abbr": "RO_S19", - "percentage_invoice": 1900, - "percentage_sales_tax": 1900, - "percentage_input_tax": 1900, + "percentage_invoice": 190000, + "percentage_sales_tax": 190000, + "percentage_input_tax": 190000, "tax_report": { "base": null, "amount": 43 @@ -2262,9 +2262,9 @@ }, "RO_S9": { "abbr": "RO_S9", - "percentage_invoice": 900, - "percentage_sales_tax": 900, - "percentage_input_tax": 900, + "percentage_invoice": 90000, + "percentage_sales_tax": 90000, + "percentage_input_tax": 90000, "tax_report": { "base": null, "amount": 43 @@ -2285,9 +2285,9 @@ }, "RO_S5": { "abbr": "RO_S5", - "percentage_invoice": 500, - "percentage_sales_tax": 500, - "percentage_input_tax": 500, + "percentage_invoice": 50000, + "percentage_sales_tax": 50000, + "percentage_input_tax": 50000, "tax_report": { "base": null, "amount": 43 @@ -2331,9 +2331,9 @@ }, "SK_S20": { "abbr": "SK_S20", - "percentage_invoice": 2000, - "percentage_sales_tax": 2000, - "percentage_input_tax": 2000, + "percentage_invoice": 200000, + "percentage_sales_tax": 200000, + "percentage_input_tax": 200000, "tax_report": { "base": null, "amount": 43 @@ -2354,9 +2354,9 @@ }, "SK_S10": { "abbr": "SK_S10", - "percentage_invoice": 1000, - "percentage_sales_tax": 1000, - "percentage_input_tax": 1000, + "percentage_invoice": 100000, + "percentage_sales_tax": 100000, + "percentage_input_tax": 100000, "tax_report": { "base": null, "amount": 43 @@ -2400,9 +2400,9 @@ }, "SI_S22": { "abbr": "SI_S22", - "percentage_invoice": 2200, - "percentage_sales_tax": 2200, - "percentage_input_tax": 2200, + "percentage_invoice": 220000, + "percentage_sales_tax": 220000, + "percentage_input_tax": 220000, "tax_report": { "base": null, "amount": 43 @@ -2423,9 +2423,9 @@ }, "SI_S9.5": { "abbr": "SI_S9.5", - "percentage_invoice": 950, - "percentage_sales_tax": 950, - "percentage_input_tax": 950, + "percentage_invoice": 95000, + "percentage_sales_tax": 95000, + "percentage_input_tax": 95000, "tax_report": { "base": null, "amount": 43 @@ -2446,9 +2446,9 @@ }, "SI_S5": { "abbr": "SI_S5", - "percentage_invoice": 500, - "percentage_sales_tax": 500, - "percentage_input_tax": 500, + "percentage_invoice": 50000, + "percentage_sales_tax": 50000, + "percentage_input_tax": 50000, "tax_report": { "base": null, "amount": 43 @@ -2492,9 +2492,9 @@ }, "ES_S21": { "abbr": "ES_S21", - "percentage_invoice": 2100, - "percentage_sales_tax": 2100, - "percentage_input_tax": 2100, + "percentage_invoice": 210000, + "percentage_sales_tax": 210000, + "percentage_input_tax": 210000, "tax_report": { "base": null, "amount": 43 @@ -2515,9 +2515,9 @@ }, "ES_S10": { "abbr": "ES_S10", - "percentage_invoice": 1000, - "percentage_sales_tax": 1000, - "percentage_input_tax": 1000, + "percentage_invoice": 100000, + "percentage_sales_tax": 100000, + "percentage_input_tax": 100000, "tax_report": { "base": null, "amount": 43 @@ -2538,9 +2538,9 @@ }, "ES_S4": { "abbr": "ES_S4", - "percentage_invoice": 400, - "percentage_sales_tax": 400, - "percentage_input_tax": 400, + "percentage_invoice": 40000, + "percentage_sales_tax": 40000, + "percentage_input_tax": 40000, "tax_report": { "base": null, "amount": 43 @@ -2584,9 +2584,9 @@ }, "SE_S25": { "abbr": "SE_S25", - "percentage_invoice": 2500, - "percentage_sales_tax": 2500, - "percentage_input_tax": 2500, + "percentage_invoice": 250000, + "percentage_sales_tax": 250000, + "percentage_input_tax": 250000, "tax_report": { "base": null, "amount": 43 @@ -2607,9 +2607,9 @@ }, "SE_S12": { "abbr": "SE_S12", - "percentage_invoice": 1200, - "percentage_sales_tax": 1200, - "percentage_input_tax": 1200, + "percentage_invoice": 120000, + "percentage_sales_tax": 120000, + "percentage_input_tax": 120000, "tax_report": { "base": null, "amount": 43 @@ -2630,9 +2630,9 @@ }, "SE_S6": { "abbr": "SE_S6", - "percentage_invoice": 600, - "percentage_sales_tax": 600, - "percentage_input_tax": 600, + "percentage_invoice": 60000, + "percentage_sales_tax": 60000, + "percentage_input_tax": 60000, "tax_report": { "base": null, "amount": 43 @@ -2677,9 +2677,9 @@ }, "GB_S20": { "abbr": "GB_S20", - "percentage_invoice": 2000, - "percentage_sales_tax": 2000, - "percentage_input_tax": 2000, + "percentage_invoice": 200000, + "percentage_sales_tax": 200000, + "percentage_input_tax": 200000, "tax_report": { "base": null, "amount": 43 @@ -2700,9 +2700,9 @@ }, "GB_S5": { "abbr": "GB_S5", - "percentage_invoice": 500, - "percentage_sales_tax": 500, - "percentage_input_tax": 500, + "percentage_invoice": 50000, + "percentage_sales_tax": 50000, + "percentage_input_tax": 50000, "tax_report": { "base": null, "amount": 43 diff --git a/Admin/Installer.php b/Admin/Installer.php index 6bd878a..9638459 100755 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -20,7 +20,6 @@ use phpOMS\Message\Http\HttpRequest; use phpOMS\Message\Http\HttpResponse; use phpOMS\Module\InstallerAbstract; use phpOMS\Module\ModuleInfo; -use phpOMS\Uri\HttpUri; /** * Installer class. @@ -75,7 +74,7 @@ final class Installer extends InstallerAbstract $module = $app->moduleManager->get('Finance'); $response = new HttpResponse(); - $request = new HttpRequest(new HttpUri('')); + $request = new HttpRequest(); $request->header->account = 1; $request->setData('abbr', $data['abbr'] ?? ''); @@ -106,7 +105,7 @@ final class Installer extends InstallerAbstract } $response = new HttpResponse(); - $request = new HttpRequest(new HttpUri('')); + $request = new HttpRequest(); $request->header->account = 1; $request->setData('title', $l11n['title'] ?? ''); diff --git a/Admin/Routes/Web/Backend.php b/Admin/Routes/Web/Backend.php index babff24..a431b9b 100755 --- a/Admin/Routes/Web/Backend.php +++ b/Admin/Routes/Web/Backend.php @@ -18,7 +18,7 @@ use phpOMS\Account\PermissionType; use phpOMS\Router\RouteVerb; return [ - '^.*/finance/analysis(\?.*|$)$' => [ + '^.*/finance/analysis(\?.*$|$)' => [ [ 'dest' => '\Modules\Finance\Controller\BackendController:viewDashboard', 'verb' => RouteVerb::GET, diff --git a/Controller/ApiController.php b/Controller/ApiController.php index 7db53c5..d5a9a83 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -18,6 +18,7 @@ use Modules\Finance\Models\TaxCode; use Modules\Finance\Models\TaxCodeL11n; use Modules\Finance\Models\TaxCodeL11nMapper; use Modules\Finance\Models\TaxCodeMapper; +use phpOMS\Localization\ISO639x1Enum; use phpOMS\Message\Http\RequestStatusCode; use phpOMS\Message\RequestAbstract; use phpOMS\Message\ResponseAbstract; @@ -98,10 +99,10 @@ final class ApiController extends Controller $code->percentageInput = $request->getDataInt('percentage_input_tax') ?? 0; if ($request->hasData('title')) { - $code->l11n->title = $request->getDataString('title') ?? ''; - $code->l11n->short = $request->getDataString('short') ?? ''; - $code->l11n->long = $request->getDataString('long') ?? ''; - $code->l11n->setLanguage($request->getDataString('language') ?? 'en'); + $code->l11n->title = $request->getDataString('title') ?? ''; + $code->l11n->short = $request->getDataString('short') ?? ''; + $code->l11n->long = $request->getDataString('long') ?? ''; + $code->l11n->language = ISO639x1Enum::tryFromValue($request->getDataString('language')) ?? 'en'; } return $code; @@ -166,12 +167,12 @@ final class ApiController extends Controller */ private function createTaxCodeL11nFromRequest(RequestAbstract $request) : TaxCodeL11n { - $l11n = new TaxCodeL11n(); - $l11n->title = $request->getDataString('title') ?? ''; - $l11n->short = $request->getDataString('short') ?? ''; - $l11n->long = $request->getDataString('long') ?? ''; - $l11n->code = $request->getDataInt('code') ?? 0; - $l11n->setLanguage($request->getDataString('language') ?? $request->header->l11n->language); + $l11n = new TaxCodeL11n(); + $l11n->title = $request->getDataString('title') ?? ''; + $l11n->short = $request->getDataString('short') ?? ''; + $l11n->long = $request->getDataString('long') ?? ''; + $l11n->code = $request->getDataInt('code') ?? 0; + $l11n->language = ISO639x1Enum::tryFromValue($request->getDataString('language')) ?? $request->header->l11n->language; return $l11n; } @@ -342,11 +343,11 @@ final class ApiController extends Controller */ public function updateTaxCodeL11nFromRequest(RequestAbstract $request, TaxCodeL11n $new) : TaxCodeL11n { - $new->title = $request->getDataString('title') ?? $new->title; - $new->short = $request->getDataString('short') ?? $new->short; - $new->long = $request->getDataString('long') ?? $new->long; - $new->code = $request->getDataInt('code') ?? $new->code; - $new->setLanguage($request->getDataString('language') ?? $new->language); + $new->title = $request->getDataString('title') ?? $new->title; + $new->short = $request->getDataString('short') ?? $new->short; + $new->long = $request->getDataString('long') ?? $new->long; + $new->code = $request->getDataInt('code') ?? $new->code; + $new->language = ISO639x1Enum::tryFromValue($request->getDataString('language')) ?? $new->language; return $new; } diff --git a/LICENSE.txt b/LICENSE.txt index 18d430e..4ba0161 100755 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -27,7 +27,7 @@ Version 2.0 Subject to the terms and conditions of this License, each Contributor grants to You after purchase a perpetual, worldwide, non-exclusive, irrevocable copyright license to prepare Derivative Works of, publicly display, publicly perform the Work and such Derivative Works in Source or Object form. You are not allowed to sublicense, reproduce, or distribute the Work and such Derivative Works in Source or Object form. -3. Redistribution. +3. Redistribution You may not reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form. diff --git a/Models/TaxCode.php b/Models/TaxCode.php index 59b316a..84a1f1e 100755 --- a/Models/TaxCode.php +++ b/Models/TaxCode.php @@ -64,7 +64,7 @@ class TaxCode implements \JsonSerializable public function toArray() : array { return [ - 'id' => $this->id, + 'id' => $this->id, ]; } diff --git a/Models/TaxCodeL11n.php b/Models/TaxCodeL11n.php index 43076c2..a1f8dbc 100755 --- a/Models/TaxCodeL11n.php +++ b/Models/TaxCodeL11n.php @@ -115,11 +115,11 @@ class TaxCodeL11n implements \JsonSerializable public function toArray() : array { return [ - 'id' => $this->id, - 'title' => $this->title, - 'short' => $this->short, - 'long' => $this->long, - 'language' => $this->language, + 'id' => $this->id, + 'title' => $this->title, + 'short' => $this->short, + 'long' => $this->long, + 'language' => $this->language, ]; } diff --git a/Models/TaxCodeL11nMapper.php b/Models/TaxCodeL11nMapper.php index aac8945..baf6617 100755 --- a/Models/TaxCodeL11nMapper.php +++ b/Models/TaxCodeL11nMapper.php @@ -36,12 +36,12 @@ final class TaxCodeL11nMapper extends DataMapperFactory * @since 1.0.0 */ public const COLUMNS = [ - 'tax_code_l11n_id' => ['name' => 'tax_code_l11n_id', 'type' => 'int', 'internal' => 'id'], - 'tax_code_l11n_text_title' => ['name' => 'tax_code_l11n_text_title', 'type' => 'string', 'internal' => 'title'], - 'tax_code_l11n_text_short' => ['name' => 'tax_code_l11n_text_short', 'type' => 'string', 'internal' => 'short'], - 'tax_code_l11n_text_long' => ['name' => 'tax_code_l11n_text_long', 'type' => 'string', 'internal' => 'long'], - 'tax_code_l11n_lang' => ['name' => 'tax_code_l11n_lang', 'type' => 'string', 'internal' => 'language'], - 'tax_code_l11n_code' => ['name' => 'tax_code_l11n_code', 'type' => 'int', 'internal' => 'code'], + 'tax_code_l11n_id' => ['name' => 'tax_code_l11n_id', 'type' => 'int', 'internal' => 'id'], + 'tax_code_l11n_text_title' => ['name' => 'tax_code_l11n_text_title', 'type' => 'string', 'internal' => 'title'], + 'tax_code_l11n_text_short' => ['name' => 'tax_code_l11n_text_short', 'type' => 'string', 'internal' => 'short'], + 'tax_code_l11n_text_long' => ['name' => 'tax_code_l11n_text_long', 'type' => 'string', 'internal' => 'long'], + 'tax_code_l11n_lang' => ['name' => 'tax_code_l11n_lang', 'type' => 'string', 'internal' => 'language'], + 'tax_code_l11n_code' => ['name' => 'tax_code_l11n_code', 'type' => 'int', 'internal' => 'code'], ]; /** diff --git a/Models/TaxCodeMapper.php b/Models/TaxCodeMapper.php index 89e20d2..03e3f99 100755 --- a/Models/TaxCodeMapper.php +++ b/Models/TaxCodeMapper.php @@ -36,11 +36,11 @@ final class TaxCodeMapper extends DataMapperFactory * @since 1.0.0 */ public const COLUMNS = [ - 'tax_code_id' => ['name' => 'tax_code_id', 'type' => 'int', 'internal' => 'id'], - 'tax_code_abbr' => ['name' => 'tax_code_abbr', 'type' => 'string', 'internal' => 'abbr'], - 'tax_code_invoice' => ['name' => 'tax_code_invoice', 'type' => 'int', 'internal' => 'percentageInvoice'], - 'tax_code_sales' => ['name' => 'tax_code_sales', 'type' => 'int', 'internal' => 'percentageSales'], - 'tax_code_input' => ['name' => 'tax_code_input', 'type' => 'int', 'internal' => 'percentageInput'], + 'tax_code_id' => ['name' => 'tax_code_id', 'type' => 'int', 'internal' => 'id'], + 'tax_code_abbr' => ['name' => 'tax_code_abbr', 'type' => 'string', 'internal' => 'abbr'], + 'tax_code_invoice' => ['name' => 'tax_code_invoice', 'type' => 'int', 'internal' => 'percentageInvoice'], + 'tax_code_sales' => ['name' => 'tax_code_sales', 'type' => 'int', 'internal' => 'percentageSales'], + 'tax_code_input' => ['name' => 'tax_code_input', 'type' => 'int', 'internal' => 'percentageInput'], ]; /** diff --git a/tests/Autoloader.php b/tests/Autoloader.php index aeac904..873cadf 100755 --- a/tests/Autoloader.php +++ b/tests/Autoloader.php @@ -75,8 +75,8 @@ final class Autoloader */ public static function defaultAutoloader(string $class) : void { - $class = \ltrim($class, '\\'); - $class = \strtr($class, '_\\', '//'); + $class = \ltrim($class, '\\'); + $class = \strtr($class, '_\\', '//'); if (\stripos($class, 'Web/Backend') !== false || \stripos($class, 'Web/Api') !== false) { $class = \is_dir(__DIR__ . '/Web') ? $class : \str_replace('Web/', 'MainRepository/Web/', $class); diff --git a/tests/Bootstrap.php b/tests/Bootstrap.php index 5a704ba..8e0ddd5 100755 --- a/tests/Bootstrap.php +++ b/tests/Bootstrap.php @@ -1,4 +1,15 @@ [ + 'db' => [ 'core' => [ 'masters' => [ - 'admin' => [ + 'admin' => [ 'db' => 'mysql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '3306', /* db host port */ @@ -80,7 +91,7 @@ $CONFIG = [ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'insert' => [ + 'insert' => [ 'db' => 'mysql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '3306', /* db host port */ @@ -90,7 +101,7 @@ $CONFIG = [ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'select' => [ + 'select' => [ 'db' => 'mysql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '3306', /* db host port */ @@ -100,7 +111,7 @@ $CONFIG = [ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'update' => [ + 'update' => [ 'db' => 'mysql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '3306', /* db host port */ @@ -110,7 +121,7 @@ $CONFIG = [ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'delete' => [ + 'delete' => [ 'db' => 'mysql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '3306', /* db host port */ @@ -120,7 +131,7 @@ $CONFIG = [ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'schema' => [ + 'schema' => [ 'db' => 'mysql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '3306', /* db host port */ @@ -132,7 +143,7 @@ $CONFIG = [ ], ], 'postgresql' => [ - 'admin' => [ + 'admin' => [ 'db' => 'pgsql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '5432', /* db host port */ @@ -142,7 +153,7 @@ $CONFIG = [ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'insert' => [ + 'insert' => [ 'db' => 'pgsql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '5432', /* db host port */ @@ -152,7 +163,7 @@ $CONFIG = [ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'select' => [ + 'select' => [ 'db' => 'pgsql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '5432', /* db host port */ @@ -162,7 +173,7 @@ $CONFIG = [ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'update' => [ + 'update' => [ 'db' => 'pgsql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '5432', /* db host port */ @@ -172,7 +183,7 @@ $CONFIG = [ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'delete' => [ + 'delete' => [ 'db' => 'pgsql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '5432', /* db host port */ @@ -182,7 +193,7 @@ $CONFIG = [ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'schema' => [ + 'schema' => [ 'db' => 'pgsql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '5432', /* db host port */ @@ -194,37 +205,37 @@ $CONFIG = [ ], ], 'sqlite' => [ - 'admin' => [ + 'admin' => [ 'db' => 'sqlite', /* db type */ 'database' => __DIR__ . '/../Karaka/phpOMS/Localization/Defaults/localization.sqlite', /* db name */ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'insert' => [ + 'insert' => [ 'db' => 'sqlite', /* db type */ 'database' => __DIR__ . '/../Karaka/phpOMS/Localization/Defaults/localization.sqlite', /* db name */ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'select' => [ + 'select' => [ 'db' => 'sqlite', /* db type */ 'database' => __DIR__ . '/../Karaka/phpOMS/Localization/Defaults/localization.sqlite', /* db name */ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'update' => [ + 'update' => [ 'db' => 'sqlite', /* db type */ 'database' => __DIR__ . '/../Karaka/phpOMS/Localization/Defaults/localization.sqlite', /* db name */ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'delete' => [ + 'delete' => [ 'db' => 'sqlite', /* db type */ 'database' => __DIR__ . '/../Karaka/phpOMS/Localization/Defaults/localization.sqlite', /* db name */ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'schema' => [ + 'schema' => [ 'db' => 'sqlite', /* db type */ 'database' => __DIR__ . '/../Karaka/phpOMS/Localization/Defaults/localization.sqlite', /* db name */ 'weight' => 1000, /* db table prefix */ @@ -232,7 +243,7 @@ $CONFIG = [ ], ], 'mssql' => [ - 'admin' => [ + 'admin' => [ 'db' => 'mssql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '1433', /* db host port */ @@ -242,7 +253,7 @@ $CONFIG = [ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'insert' => [ + 'insert' => [ 'db' => 'mssql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '1433', /* db host port */ @@ -252,7 +263,7 @@ $CONFIG = [ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'select' => [ + 'select' => [ 'db' => 'mssql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '1433', /* db host port */ @@ -262,7 +273,7 @@ $CONFIG = [ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'update' => [ + 'update' => [ 'db' => 'mssql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '1433', /* db host port */ @@ -272,7 +283,7 @@ $CONFIG = [ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'delete' => [ + 'delete' => [ 'db' => 'mssql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '1433', /* db host port */ @@ -282,7 +293,7 @@ $CONFIG = [ 'weight' => 1000, /* db table prefix */ 'datetimeformat' => 'Y-m-d H:i:s', ], - 'schema' => [ + 'schema' => [ 'db' => 'mssql', /* db type */ 'host' => '127.0.0.1', /* db host address */ 'port' => '1433', /* db host port */ @@ -322,16 +333,16 @@ $CONFIG = [ 'password' => '123456', ], ], - 'log' => [ + 'log' => [ 'file' => [ 'path' => __DIR__ . '/Logs', ], ], - 'page' => [ + 'page' => [ 'root' => '/', 'https' => false, ], - 'app' => [ + 'app' => [ 'path' => __DIR__, 'default' => [ 'app' => 'Backend', @@ -350,7 +361,7 @@ $CONFIG = [ ], ], ], - 'socket' => [ + 'socket' => [ 'master' => [ 'host' => '127.0.0.1', 'limit' => 300, @@ -360,7 +371,7 @@ $CONFIG = [ 'language' => [ 'en', ], - 'apis' => [ + 'apis' => [ ], ];