Rework service, removed redundant code, service invoicing improvements

This commit is contained in:
2024-07-29 23:12:53 +10:00
parent 5f10175b35
commit 0b5bc9e012
29 changed files with 474 additions and 523 deletions

View File

@@ -4,55 +4,28 @@ table.dataTable tr.dtrg-group.dtrg-level-1 td {
}
/* RENDERING */
/* Spacing between sp and table */
div.dtsp-verticalPanes {
margin-right: 10px;
margin-right: 1em;
}
div.dtsp-panesContainer {
margin-top: 0px;
margin-bottom: 0px;
width: 15em;
}
div.dtsp-subRow1 {
width: 100%;
}
div.dtsp-searchCont input.dtsp-search.dtsp-disabledButton {
background: #eaeaea;
font-size: larger;
border-radius: 3px;
}
div.dtsp-searchCont input.dtsp-search.dtsp-disabledButton::placeholder,
div.dtsp-searchCont input.dtsp-search.dtsp-disabledButton:-moz-placeholder,
div.dtsp-searchCont input.dtsp-search.dtsp-disabledButton::-moz-placeholder,
div.dtsp-searchCont input.dtsp-search.dtsp-disabledButton::-webkit-input-placeholder {
color: #000000;
font-weight: bold;
width: 18em;
}
div.dtsp-titleRow {
margin-top: 13px;
padding: 5px;
padding: 0.5em;
}
div.dtsp-titleRow button {
padding: 0 0 0 5px !important;
padding: 0 0 0 3px !important;
margin-bottom: 1px;
font-size: 90%;
}
div.dtsp-titleRow div.dtsp-title {
padding: 1px;
margin: 0 !important;
font-weight: bolder;
}
div.dtsp-panesContainer div.dtsp-searchPanes div.dtsp-searchPane div.dataTables_scrollBody div.dtsp-nameCont span.dtsp-pill {
min-width: 4em;
}
div.dtsp-verticalContainer{
div.dtsp-verticalContainer {
display: flex;
flex-direction: row;
flex-wrap: wrap;
@@ -62,42 +35,45 @@ div.dtsp-verticalContainer{
}
div.dtsp-verticalContainer div.dtsp-verticalPanes,
div.dtsp-verticalContainer div.dtsp-dataTable{
div.dtsp-verticalContainer div.dtsp-dataTable {
width: 50%;
flex-grow: 0;
flex-shrink: 0;
flex-basis: 0;
}
div.dtsp-verticalContainer div.dtsp-verticalPanes{
div.dtsp-verticalContainer div.dtsp-verticalPanes {
background: rgba(33, 39, 45, 0.1);
border-radius: 6px;
border: 1px solid #ccc;
border: 1px solid #aaa;
}
div.dtsp-title {
margin-right: 0px !important;
margin-top: 13px !important;
margin-left: 5px !important;
/* Fix Search input */
div.dtsp-dataTable .dt-search {
text-align: right;
padding-bottom: 0.5em;
}
input.dtsp-search {
min-width: 0px !important;
padding-left: 0px !important;
margin: 0px !important;
/* Fix Table Result */
div.dtsp-dataTable .dt-info {
float: left;
padding-top: 0.75em;
}
div.dtsp-verticalContainer div.dtsp-verticalPanes div.dtsp-searchPanes{
flex-direction: column;
flex-basis: 0px;
/* Fix pagination */
div.dtsp-dataTable .dt-paging {
float: right;
padding-top: 0.5em;
}
div.dtsp-verticalContainer div.dtsp-verticalPanes div.dtsp-searchPanes div.dtsp-searchPane{
flex-basis: 0px;
/* Titles */
div.dtsp-panesContainer div.dtsp-searchPane div.dtsp-topRow input.form-control {
font-weight: bold;
padding-top: 0.5em;
padding-left: 0;
}
div.dtsp-verticalContainer div.dtsp-dataTable{
flex-grow: 1;
flex-shrink: 0;
flex-basis: auto;
}
}