Skip to content

Commit

Permalink
added app for finances. Work in progress. Optmization
Browse files Browse the repository at this point in the history
  • Loading branch information
lybekk committed Feb 13, 2020
1 parent e2133be commit 89aa397
Show file tree
Hide file tree
Showing 17 changed files with 1,212 additions and 171 deletions.
Binary file added docs/.vuepress/public/screenshots/dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
173 changes: 173 additions & 0 deletions public/data/currencies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
{
"AED": "United Arab Emirates Dirham",
"AFN": "Afghan Afghani",
"ALL": "Albanian Lek",
"AMD": "Armenian Dram",
"ANG": "Netherlands Antillean Guilder",
"AOA": "Angolan Kwanza",
"ARS": "Argentine Peso",
"AUD": "Australian Dollar",
"AWG": "Aruban Florin",
"AZN": "Azerbaijani Manat",
"BAM": "Bosnia-Herzegovina Convertible Mark",
"BBD": "Barbadian Dollar",
"BDT": "Bangladeshi Taka",
"BGN": "Bulgarian Lev",
"BHD": "Bahraini Dinar",
"BIF": "Burundian Franc",
"BMD": "Bermudan Dollar",
"BND": "Brunei Dollar",
"BOB": "Bolivian Boliviano",
"BRL": "Brazilian Real",
"BSD": "Bahamian Dollar",
"BTC": "Bitcoin",
"BTN": "Bhutanese Ngultrum",
"BWP": "Botswanan Pula",
"BYN": "Belarusian Ruble",
"BZD": "Belize Dollar",
"CAD": "Canadian Dollar",
"CDF": "Congolese Franc",
"CHF": "Swiss Franc",
"CLF": "Chilean Unit of Account (UF)",
"CLP": "Chilean Peso",
"CNH": "Chinese Yuan (Offshore)",
"CNY": "Chinese Yuan",
"COP": "Colombian Peso",
"CRC": "Costa Rican Colón",
"CUC": "Cuban Convertible Peso",
"CUP": "Cuban Peso",
"CVE": "Cape Verdean Escudo",
"CZK": "Czech Republic Koruna",
"DJF": "Djiboutian Franc",
"DKK": "Danish Krone",
"DOP": "Dominican Peso",
"DZD": "Algerian Dinar",
"EGP": "Egyptian Pound",
"ERN": "Eritrean Nakfa",
"ETB": "Ethiopian Birr",
"EUR": "Euro",
"FJD": "Fijian Dollar",
"FKP": "Falkland Islands Pound",
"GBP": "British Pound Sterling",
"GEL": "Georgian Lari",
"GGP": "Guernsey Pound",
"GHS": "Ghanaian Cedi",
"GIP": "Gibraltar Pound",
"GMD": "Gambian Dalasi",
"GNF": "Guinean Franc",
"GTQ": "Guatemalan Quetzal",
"GYD": "Guyanaese Dollar",
"HKD": "Hong Kong Dollar",
"HNL": "Honduran Lempira",
"HRK": "Croatian Kuna",
"HTG": "Haitian Gourde",
"HUF": "Hungarian Forint",
"IDR": "Indonesian Rupiah",
"ILS": "Israeli New Sheqel",
"IMP": "Manx pound",
"INR": "Indian Rupee",
"IQD": "Iraqi Dinar",
"IRR": "Iranian Rial",
"ISK": "Icelandic Króna",
"JEP": "Jersey Pound",
"JMD": "Jamaican Dollar",
"JOD": "Jordanian Dinar",
"JPY": "Japanese Yen",
"KES": "Kenyan Shilling",
"KGS": "Kyrgystani Som",
"KHR": "Cambodian Riel",
"KMF": "Comorian Franc",
"KPW": "North Korean Won",
"KRW": "South Korean Won",
"KWD": "Kuwaiti Dinar",
"KYD": "Cayman Islands Dollar",
"KZT": "Kazakhstani Tenge",
"LAK": "Laotian Kip",
"LBP": "Lebanese Pound",
"LKR": "Sri Lankan Rupee",
"LRD": "Liberian Dollar",
"LSL": "Lesotho Loti",
"LYD": "Libyan Dinar",
"MAD": "Moroccan Dirham",
"MDL": "Moldovan Leu",
"MGA": "Malagasy Ariary",
"MKD": "Macedonian Denar",
"MMK": "Myanma Kyat",
"MNT": "Mongolian Tugrik",
"MOP": "Macanese Pataca",
"MRO": "Mauritanian Ouguiya (pre-2018)",
"MRU": "Mauritanian Ouguiya",
"MUR": "Mauritian Rupee",
"MVR": "Maldivian Rufiyaa",
"MWK": "Malawian Kwacha",
"MXN": "Mexican Peso",
"MYR": "Malaysian Ringgit",
"MZN": "Mozambican Metical",
"NAD": "Namibian Dollar",
"NGN": "Nigerian Naira",
"NIO": "Nicaraguan Córdoba",
"NOK": "Norwegian Krone",
"NPR": "Nepalese Rupee",
"NZD": "New Zealand Dollar",
"OMR": "Omani Rial",
"PAB": "Panamanian Balboa",
"PEN": "Peruvian Nuevo Sol",
"PGK": "Papua New Guinean Kina",
"PHP": "Philippine Peso",
"PKR": "Pakistani Rupee",
"PLN": "Polish Zloty",
"PYG": "Paraguayan Guarani",
"QAR": "Qatari Rial",
"RON": "Romanian Leu",
"RSD": "Serbian Dinar",
"RUB": "Russian Ruble",
"RWF": "Rwandan Franc",
"SAR": "Saudi Riyal",
"SBD": "Solomon Islands Dollar",
"SCR": "Seychellois Rupee",
"SDG": "Sudanese Pound",
"SEK": "Swedish Krona",
"SGD": "Singapore Dollar",
"SHP": "Saint Helena Pound",
"SLL": "Sierra Leonean Leone",
"SOS": "Somali Shilling",
"SRD": "Surinamese Dollar",
"SSP": "South Sudanese Pound",
"STD": "São Tomé and Príncipe Dobra (pre-2018)",
"STN": "São Tomé and Príncipe Dobra",
"SVC": "Salvadoran Colón",
"SYP": "Syrian Pound",
"SZL": "Swazi Lilangeni",
"THB": "Thai Baht",
"TJS": "Tajikistani Somoni",
"TMT": "Turkmenistani Manat",
"TND": "Tunisian Dinar",
"TOP": "Tongan Pa'anga",
"TRY": "Turkish Lira",
"TTD": "Trinidad and Tobago Dollar",
"TWD": "New Taiwan Dollar",
"TZS": "Tanzanian Shilling",
"UAH": "Ukrainian Hryvnia",
"UGX": "Ugandan Shilling",
"USD": "United States Dollar",
"UYU": "Uruguayan Peso",
"UZS": "Uzbekistan Som",
"VEF": "Venezuelan Bolívar Fuerte (Old)",
"VES": "Venezuelan Bolívar Soberano",
"VND": "Vietnamese Dong",
"VUV": "Vanuatu Vatu",
"WST": "Samoan Tala",
"XAF": "CFA Franc BEAC",
"XAG": "Silver Ounce",
"XAU": "Gold Ounce",
"XCD": "East Caribbean Dollar",
"XDR": "Special Drawing Rights",
"XOF": "CFA Franc BCEAO",
"XPD": "Palladium Ounce",
"XPF": "CFP Franc",
"XPT": "Platinum Ounce",
"YER": "Yemeni Rial",
"ZAR": "South African Rand",
"ZMW": "Zambian Kwacha",
"ZWL": "Zimbabwean Dollar"
}
4 changes: 2 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@

<AlertBox/>

<v-slide-y-transition mode="out-in">
<v-scroll-x-transition mode="out-in">
<router-view></router-view>
</v-slide-y-transition>
</v-scroll-x-transition>

<v-snackbar
v-model="snackbar.visible"
Expand Down
12 changes: 4 additions & 8 deletions src/components/LogbookNewlogform.vue
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,7 @@ export default {
},
pickerStartDate: {
get () {
let d = this.newEntry.start.substring(0,10);
return d
return this.newEntry.start.substring(0,10);
},
set (pickerValue) {
let old = this.newEntry.start.substring(0,10);
Expand All @@ -212,8 +211,7 @@ export default {
},
pickerStartTime: {
get () {
let hhmm = this.newEntry.start.substring(11,16);
return hhmm
return this.newEntry.start.substring(11,16); //hhmm
},
set (pickerValue) {
let old = this.newEntry.start.substring(11,16);
Expand All @@ -223,8 +221,7 @@ export default {
},
pickerEndDate: {
get () {
let d = this.newEntry.end.substring(0,10);
return d
return this.newEntry.end.substring(0,10);
},
set (pickerValue) {
let old = this.newEntry.end.substring(0,10);
Expand All @@ -234,8 +231,7 @@ export default {
},
pickerEndTime: {
get () {
let hhmm = this.newEntry.end.substring(11,16);
return hhmm
return this.newEntry.end.substring(11,16);
},
set (pickerValue) {
let old = this.newEntry.end.substring(11,16);
Expand Down
72 changes: 35 additions & 37 deletions src/components/NavbarApps.vue
Original file line number Diff line number Diff line change
@@ -1,53 +1,51 @@
<template>
<v-tabs fixed-tabs
<template lang="pug">
v-tabs(
fixed-tabs
background-color="transparent"
show-arrows
>
<v-tab to="/dashboard">Dashboard</v-tab>
<v-tab to="/tasks">
Tasks
<v-badge
)
v-tab(to="/dashboard") Dashboard
v-tab(to="/tasks") Tasks
v-badge(
:content="this.$store.getters.getTasksAggregate.today"
:value="this.$store.getters.getTasksAggregate.today != 0"
bordered
>
</v-badge>
</v-tab>
<v-tab to="/notes">Notes</v-tab>
<v-tab to="/logbook">Logbook</v-tab>
<v-tab to="/messages">
Messages
<v-badge
)
v-tab(to="/notes") Notes
v-tab(to="/logbook") Logbook
v-tab(to="/messages") Messages
v-badge(
:content="badgeMessagesUnread"
:value="badgeMessagesUnread != 0"
bordered
>
</v-badge>
</v-tab>
<v-menu
)
v-menu(
bottom
left
>
<template v-slot:activator="{ on }">
<v-btn
)
template(v-slot:activator="{ on }")
v-btn(
text
class="align-self-center mr-4"
v-on="on"
>
more
<v-icon right>mdi-menu-down</v-icon>
</v-btn>
</template>
<v-list class="grey lighten-3">
<v-list-item
to="/tools"
>
Tools
</v-list-item>
</v-list>
</v-menu>

</v-tabs>
) More
v-icon(right) mdi-menu-down
v-list(class="grey lighten-3")
v-list-item(to="/tools") Tools
//-v-list-item Work in progress
v-menu(
bottom
left
)
template(v-slot:activator="{ on }")
v-btn(
text
class="align-self-center mr-4"
v-on="on"
) Work in progress
v-icon(right) mdi-menu-down
v-list(class="grey lighten-3")
v-list-item(to="/finances") Finances

</template>

Expand Down
1 change: 0 additions & 1 deletion src/components/TasksNewtaskform.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
filled
dense
)

v-col(cols="12")
v-combobox(
v-model="newTask.tags"
Expand Down
Loading

0 comments on commit 89aa397

Please sign in to comment.