mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 14:20:31 +00:00
Merge branch 'feature/multi-dimensions' of https://github.com/bigcapitalhq/client into feature/multi-dimensions
This commit is contained in:
@@ -115,7 +115,11 @@ export function transformValueToRequest(values) {
|
|||||||
return {
|
return {
|
||||||
...values,
|
...values,
|
||||||
entries: entries.map((entry) => ({
|
entries: entries.map((entry) => ({
|
||||||
...omit(entry, ['warehouses']),
|
...omit(entry, [
|
||||||
|
'warehouses',
|
||||||
|
'destination_warehouse',
|
||||||
|
'source_warehouse',
|
||||||
|
]),
|
||||||
})),
|
})),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,8 +17,9 @@ $dashboard-views-bar-height: 44px;
|
|||||||
&-left {
|
&-left {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
&-actions {
|
|
||||||
}
|
&-actions {}
|
||||||
|
|
||||||
&-sidebar-toggle {
|
&-sidebar-toggle {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -52,6 +53,7 @@ $dashboard-views-bar-height: 44px;
|
|||||||
&:focus {
|
&:focus {
|
||||||
background-color: rgba(178, 220, 253, 0.15);
|
background-color: rgba(178, 220, 253, 0.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
.#{$ns}-icon {
|
.#{$ns}-icon {
|
||||||
color: #1552c8;
|
color: #1552c8;
|
||||||
}
|
}
|
||||||
@@ -60,10 +62,12 @@ $dashboard-views-bar-height: 44px;
|
|||||||
.bp3-navbar-divider {
|
.bp3-navbar-divider {
|
||||||
margin: 0 8px;
|
margin: 0 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-group-quick-new-downDrop {
|
.form-group-quick-new-downDrop {
|
||||||
.bp3-popover-target .bp3-button {
|
.bp3-popover-target .bp3-button {
|
||||||
color: #1552c8;
|
color: #1552c8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bp3-button::after {
|
.bp3-button::after {
|
||||||
content: none;
|
content: none;
|
||||||
}
|
}
|
||||||
@@ -86,6 +90,7 @@ $dashboard-views-bar-height: 44px;
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
&,
|
&,
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
@@ -120,6 +125,7 @@ $dashboard-views-bar-height: 44px;
|
|||||||
&:hover {
|
&:hover {
|
||||||
background: $light-gray2;
|
background: $light-gray2;
|
||||||
}
|
}
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
background: escape-svg($breadcrumbs-collapsed-icon) center center;
|
background: escape-svg($breadcrumbs-collapsed-icon) center center;
|
||||||
width: 15px;
|
width: 15px;
|
||||||
@@ -164,10 +170,12 @@ $dashboard-views-bar-height: 44px;
|
|||||||
&-group {
|
&-group {
|
||||||
height: 40px;
|
height: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.#{$ns}-navbar-divider {
|
.#{$ns}-navbar-divider {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.#{$ns}-button {
|
.#{$ns}-button {
|
||||||
color: #32304a;
|
color: #32304a;
|
||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
@@ -176,6 +184,7 @@ $dashboard-views-bar-height: 44px;
|
|||||||
background: rgba(167, 182, 194, 0.12);
|
background: rgba(167, 182, 194, 0.12);
|
||||||
color: #32304a;
|
color: #32304a;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.bp3-minimal:active,
|
&.bp3-minimal:active,
|
||||||
&.bp3-minimal.bp3-active {
|
&.bp3-minimal.bp3-active {
|
||||||
background: #a7b6c21f;
|
background: #a7b6c21f;
|
||||||
@@ -183,15 +192,18 @@ $dashboard-views-bar-height: 44px;
|
|||||||
}
|
}
|
||||||
|
|
||||||
&.has-active-filters {
|
&.has-active-filters {
|
||||||
|
|
||||||
&,
|
&,
|
||||||
&.bp3-active,
|
&.bp3-active,
|
||||||
&:active {
|
&:active {
|
||||||
background: #eafbe4;
|
background: #eafbe4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.#{$ns}-icon {
|
.#{$ns}-icon {
|
||||||
color: #32304a;
|
color: #32304a;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.#{$ns}-minimal.#{$ns}-intent-danger {
|
&.#{$ns}-minimal.#{$ns}-intent-danger {
|
||||||
color: #c23030;
|
color: #c23030;
|
||||||
|
|
||||||
@@ -219,9 +231,11 @@ $dashboard-views-bar-height: 44px;
|
|||||||
.#{$ns}-icon {
|
.#{$ns}-icon {
|
||||||
color: #1183da;
|
color: #1183da;
|
||||||
}
|
}
|
||||||
|
|
||||||
.#{$ns}-button-text {
|
.#{$ns}-button-text {
|
||||||
margin-right: 2px;
|
margin-right: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.#{$ns}-icon-caret-down {
|
.#{$ns}-icon-caret-down {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
@@ -240,10 +254,12 @@ $dashboard-views-bar-height: 44px;
|
|||||||
.bp3-control-indicator::before {
|
.bp3-control-indicator::before {
|
||||||
box-shadow: 0 0 0;
|
box-shadow: 0 0 0;
|
||||||
}
|
}
|
||||||
input ~ .bp3-control-indicator {
|
|
||||||
|
input~.bp3-control-indicator {
|
||||||
background: rgba(167, 182, 194, 0.55);
|
background: rgba(167, 182, 194, 0.55);
|
||||||
}
|
}
|
||||||
input:checked ~ .bp3-control-indicator {
|
|
||||||
|
input:checked~.bp3-control-indicator {
|
||||||
background: #0069ff;
|
background: #0069ff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -267,13 +283,14 @@ $dashboard-views-bar-height: 44px;
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
h3 {
|
|
||||||
}
|
h3 {}
|
||||||
|
|
||||||
.button--view-edit {
|
.button--view-edit {
|
||||||
svg {
|
svg {
|
||||||
color: #929699;
|
color: #929699;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
svg {
|
svg {
|
||||||
@@ -289,10 +306,9 @@ $dashboard-views-bar-height: 44px;
|
|||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__subtitle {
|
&__subtitle {}
|
||||||
}
|
|
||||||
&__insider {
|
&__insider {}
|
||||||
}
|
|
||||||
|
|
||||||
&__offline-badge {
|
&__offline-badge {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -308,13 +324,14 @@ $dashboard-views-bar-height: 44px;
|
|||||||
margin: auto;
|
margin: auto;
|
||||||
margin-left: 12px;
|
margin-left: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-content {
|
&-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
min-width: 850px;
|
min-width: 850px;
|
||||||
|
|
||||||
.sidebar--mini-sidebar + & {
|
.sidebar--mini-sidebar+& {
|
||||||
margin-left: 50px;
|
margin-left: 50px;
|
||||||
width: calc(100% - 50px);
|
width: calc(100% - 50px);
|
||||||
}
|
}
|
||||||
@@ -326,7 +343,7 @@ $dashboard-views-bar-height: 44px;
|
|||||||
flex: 1 0 0;
|
flex: 1 0 0;
|
||||||
background-color: #fbfbfb;
|
background-color: #fbfbfb;
|
||||||
|
|
||||||
> .dashboard__loading-indicator {
|
>.dashboard__loading-indicator {
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
margin-bottom: auto;
|
margin-bottom: auto;
|
||||||
}
|
}
|
||||||
@@ -356,8 +373,10 @@ $dashboard-views-bar-height: 44px;
|
|||||||
|
|
||||||
.bigcapital-datatable {
|
.bigcapital-datatable {
|
||||||
.table {
|
.table {
|
||||||
|
|
||||||
.thead,
|
.thead,
|
||||||
.tbody {
|
.tbody {
|
||||||
|
|
||||||
.th.selection,
|
.th.selection,
|
||||||
.td.selection {
|
.td.selection {
|
||||||
padding-left: 16px;
|
padding-left: 16px;
|
||||||
@@ -412,8 +431,7 @@ $dashboard-views-bar-height: 44px;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__preferences-topbar {
|
&__preferences-topbar {}
|
||||||
}
|
|
||||||
|
|
||||||
&__footer {
|
&__footer {
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
@@ -423,7 +441,7 @@ $dashboard-views-bar-height: 44px;
|
|||||||
.footer-links {
|
.footer-links {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
||||||
> div {
|
>div {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
display: inline;
|
display: inline;
|
||||||
@@ -502,6 +520,7 @@ $dashboard-views-bar-height: 44px;
|
|||||||
height: 2px;
|
height: 2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.button--new-view {
|
.button--new-view {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
height: $dashboard-views-bar-height;
|
height: $dashboard-views-bar-height;
|
||||||
@@ -537,6 +556,7 @@ $dashboard-views-bar-height: 44px;
|
|||||||
.bp3-tab[aria-selected='true'] {
|
.bp3-tab[aria-selected='true'] {
|
||||||
box-shadow: inset 0 -2px 0 #0052cc;
|
box-shadow: inset 0 -2px 0 #0052cc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bp3-button {
|
.bp3-button {
|
||||||
&:hover {
|
&:hover {
|
||||||
background: rgba(167, 182, 194, 0.12);
|
background: rgba(167, 182, 194, 0.12);
|
||||||
@@ -574,20 +594,21 @@ $dashboard-views-bar-height: 44px;
|
|||||||
|
|
||||||
.navbar--dashboard-topbar {
|
.navbar--dashboard-topbar {
|
||||||
box-shadow: 0 0 0;
|
box-shadow: 0 0 0;
|
||||||
border-bottom: 1px solid #d2dce2;
|
border-bottom: 2px solid #dce5ea;
|
||||||
height: 35px;
|
height: 35px;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
|
|
||||||
.bp3-navbar-group {
|
.bp3-navbar-group {
|
||||||
height: 35px;
|
height: 35px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bp3-navbar-divider {
|
.bp3-navbar-divider {
|
||||||
border-left-color: #d2dce2;
|
border-left-color: #d2dce2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bp3-skeleton {
|
.bp3-skeleton {
|
||||||
max-height: 10px;
|
max-height: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bp3-button {
|
.bp3-button {
|
||||||
&:hover {
|
&:hover {
|
||||||
background: rgba(167, 182, 194, 0.12);
|
background: rgba(167, 182, 194, 0.12);
|
||||||
|
|||||||
Reference in New Issue
Block a user