- balance implementation

- invoice refactoring
This commit is contained in:
Čarodej
2021-12-15 11:24:41 +01:00
parent 6cb3503870
commit b368d56bbc
14 changed files with 197 additions and 150 deletions

View File

@@ -0,0 +1,19 @@
<template>
<div class="flex items-end justify-between h-28">
<span
class="w-2.5 block rounded-lg lg:mr-2 mr-1.5"
:style="{height: height + '%', backgroundColor: color}"
v-for="(height, i) in data"
:key="i">
</span>
</div>
</template>
<script>
export default {
name: 'BarChart',
props: {
data: {},
color: {},
}
}
</script>