- feat: Filter expense and payment accounts on expense form.

- feat: Make journal errors with receivable and payable accounts.
- fix: Handle database big numbers.
- fix: Indexing lines when add a new line on make journal form.
- fix: Abstruct accounts type component.
This commit is contained in:
Ahmed Bouhuolia
2020-07-06 21:22:27 +02:00
parent 3fc390652d
commit 282da55d08
40 changed files with 1031 additions and 747 deletions

View File

@@ -7,8 +7,7 @@ $form-check-input-indeterminate-bg-image: url("data:image/svg+xml,<svg xmlns='ht
&__floating-footer{
position: fixed;
bottom: 0;
left: 220px;
right: 0;
width: 100%;
background: #fff;
padding: 14px 18px;
border-top: 1px solid #ececec;

View File

@@ -18,6 +18,7 @@
.account_name{
> div{
width: 100%;
font-weight: 500;
}
.bp3-popover-wrapper--inactive-semafro{
@@ -78,14 +79,14 @@
&.form-group--description{
.bp3-form-content{
width: 280px;
width: 280px;
}
textarea{
min-width: 100%;
max-width: 100%;
width: 100%;
max-height: 120px;
}
textarea{
min-width: 100%;
max-width: 100%;
width: 100%;
min-height: 60px;
}
}
}
@@ -105,6 +106,11 @@
top: -2px;
margin-left: 2px;
}
}
}
.form-group--description{
textarea{
padding: 6px;
}
}
}
}

View File

@@ -6,7 +6,7 @@
&:before{
content: "";
height: 2px;
height: 1px;
background: #01194e;
position: fixed;
top: 0;
@@ -203,6 +203,7 @@
align-items: center;
margin-left: 1rem;
}
&__title{
align-items: center;;
display: flex;
@@ -243,6 +244,9 @@
&__subtitle{
}
&__insider{
margin-bottom: 40px;
}
&-content{
display: flex;

View File

@@ -102,19 +102,16 @@
}
}
.tr {
.bp3-input,
.bp3-form-group .bp3-input,
.form-group--select-list .bp3-button {
border-color: #e5e5e5;
border-radius: 3px;
padding-left: 8px;
padding-right: 8px;
}
.form-group--select-list {
&.bp3-intent-danger {
.bp3-button:not(.bp3-minimal) {
border-color: #efa8a8;
}
}
.bp3-form-group:not(.bp3-intent-danger) .bp3-input,
.form-group--select-list:not(.bp3-intent-danger) .bp3-button {
border-color: #E5E5E5;
}
&:last-of-type {
@@ -155,6 +152,12 @@
.td {
border-bottom: 1px dotted #999;
&.description{
.bp3-form-group{
width: 100%;
}
}
}
.actions.td {
@@ -217,7 +220,7 @@
font-weight: 600;
}
.description{
.td.description{
.bp3-icon{
color: #666;
}

View File

@@ -1,6 +1,6 @@
.make-journal-entries{
padding-bottom: 80px;
padding-bottom: 20px;
display: flex;
flex-direction: column;
@@ -73,7 +73,7 @@
}
}
.tr{
.bp3-input,
.bp3-form-group:not(.bp3-intent-danger) .bp3-input,
.form-group--select-list .bp3-button{
border-color: #E5E5E5;
border-radius: 3px;
@@ -84,13 +84,12 @@
.form-group--select-list{
&.bp3-intent-danger{
.bp3-button:not(.bp3-minimal){
border-color: #efa8a8;
border-color: #db3737;
}
}
}
&:last-of-type{
.td{
border-bottom: transparent;
@@ -129,6 +128,14 @@
}
}
}
.td{
&.note{
.bp3-form-group{
width: 100%;
}
}
}
}
}
.th{