From 0d78421d816fdefc9ef86991d1e1a89694658463 Mon Sep 17 00:00:00 2001 From: Eriks Karls Date: Thu, 15 Dec 2022 14:27:05 +0200 Subject: [PATCH] Vueified salary calculator --- .editorconfig | 22 ++++ .idea/.gitignore | 8 ++ .idea/misc.xml | 9 ++ .idea/modules.xml | 8 ++ .idea/salary-calculartor.iml | 9 ++ .idea/vcs.xml | 6 ++ dynamic.html | 200 +++++++++++++++++++++++++++++++++++ 7 files changed, 262 insertions(+) create mode 100644 .editorconfig create mode 100644 .idea/.gitignore create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/salary-calculartor.iml create mode 100644 .idea/vcs.xml create mode 100644 dynamic.html diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..56104db --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = space +insert_final_newline = false +max_line_length = 160 +tab_width = 4 + +[*.vue] +indent_size = 2 +tab_width = 2 + +[{*.cjs,*.js}] +indent_size = 2 +tab_width = 2 + +[{*.htm,*.html,*.ng,*.sht,*.shtm,*.shtml}] +indent_size = 2 +tab_width = 2 diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..8faa81f --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..70e5751 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/salary-calculartor.iml b/.idea/salary-calculartor.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/salary-calculartor.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/dynamic.html b/dynamic.html new file mode 100644 index 0000000..c011f7e --- /dev/null +++ b/dynamic.html @@ -0,0 +1,200 @@ + + + + + Salary calculator for Latvians + + + + +
+
+
+
+
+ +
+ + + .00 +
+ + + +
+ + +
+ + +
+ +
+
+
    +
  • +
    +
    Brutto salary
    +
    + {{bruttoSalary}}€ +
  • +
  • +
    +
    Social security tax
    +
    + {{socialInsuranceAmount}}€ +
  • +
  • +
    +
    Income tax
    +
    + {{incomeTax}}€ +
  • +
  • +
    +
    Net salary
    +
    + {{netSalary}}€ +
  • +
  • +
    +
    Employer tax
    +
    + {{employersSocialInsuranceAmount}}€ +
  • +
  • +
    +
    Employer total cost
    +
    + {{employerTotalCost}}€ +
  • +
  • + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    HourlyDailyYearly
    Net{{hourlyNet}}€{{dailyNet}}€{{yearlyNet}}€
    Brutto{{hourlyBrutto}}€{{dailyBrutto}}€{{yearlyBrutto}}€
    Employer{{hourlyEmployer}}€{{dailyEmployer}}€{{yearlyEmployer}}€
    +
  • +
+
+
+ +
+
+
+ + + + + + \ No newline at end of file