Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions website/openapi_v2.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17817,6 +17817,11 @@ components:
default: false
description: |
Render the foreign trade complement in the PDF.
render_phone:
type: boolean
default: false
description: |
Show the recipient's phone number in the PDF.
repeat_signature:
type: boolean
default: false
Expand Down Expand Up @@ -17935,6 +17940,11 @@ components:
default: false
description: |
Render the foreign trade complement in the PDF.
render_phone:
type: boolean
default: false
description: |
Show the recipient's phone number in the PDF.
repeat_signature:
type: boolean
default: false
Expand Down
10 changes: 10 additions & 0 deletions website/openapi_v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17768,6 +17768,11 @@ components:
default: false
description: |
Renderizar el complemento de comercio exterior en el PDF.
render_phone:
type: boolean
default: false
description: |
Mostrar el teléfono del receptor en el PDF.
repeat_signature:
type: boolean
default: false
Expand Down Expand Up @@ -17883,6 +17888,11 @@ components:
default: false
description: |
Renderizar el complemento de comercio exterior en el PDF.
render_phone:
type: boolean
default: false
description: |
Mostrar el teléfono del receptor en el PDF.
repeat_signature:
type: boolean
default: false
Expand Down
58 changes: 47 additions & 11 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -409,9 +409,17 @@ body[data-scrolled='true'] .navbar {
grid-column: 1 / -1;
}

> tr:has(> td[title='status']) {
> tr:has(> td[colspan]) {
animation: invoice-field-details-enter 180ms ease-out;
transform-origin: top;
}

> tr:has(> td[title='status']),
> tr:has(> td[title='status']) + tr:has(> td[colspan]) {
order: -11;
}

> tr:has(> td[title='status']) {
> td + td > div {
display: flex;
flex-direction: column;
Expand All @@ -423,22 +431,50 @@ body[data-scrolled='true'] .navbar {
}
}

> tr:has(> td[title='type']) { order: -10; }
> tr:has(> td[title='customer']) { order: -9; }
> tr:has(> td[title='third_party']) { order: -8; }
> tr:has(> td:is([title='items'], [title='complements'])) { order: -7; }
> tr:has(> td[title='use']) { order: -6; }
> tr:has(> td:is([title='payment_form'], [title='payment_method'], [title='conditions'])) { order: -5; }
> tr:has(> td:is([title='currency'], [title='exchange'])) { order: -4; }
> tr:has(> td:is([title='date'], [title='folio_number'], [title='series'])) { order: -3; }
> tr:has(> td:is([title='related_documents'], [title='global'], [title='export'])) { order: 1; }
> tr:has(> td:is([title='pdf_custom_section'], [title='addenda'], [title='namespaces'], [title='pdf_options'])) { order: 2; }
> tr:has(> td[title='type']),
> tr:has(> td[title='type']) + tr:has(> td[colspan]) { order: -10; }
> tr:has(> td[title='customer']),
> tr:has(> td[title='customer']) + tr:has(> td[colspan]) { order: -9; }
> tr:has(> td[title='third_party']),
> tr:has(> td[title='third_party']) + tr:has(> td[colspan]) { order: -8; }
> tr:has(> td:is([title='items'], [title='complements'])),
> tr:has(> td:is([title='items'], [title='complements'])) + tr:has(> td[colspan]) { order: -7; }
> tr:has(> td[title='use']),
> tr:has(> td[title='use']) + tr:has(> td[colspan]) { order: -6; }
> tr:has(> td:is([title='payment_form'], [title='payment_method'], [title='conditions'])),
> tr:has(> td:is([title='payment_form'], [title='payment_method'], [title='conditions'])) + tr:has(> td[colspan]) { order: -5; }
> tr:has(> td:is([title='currency'], [title='exchange'])),
> tr:has(> td:is([title='currency'], [title='exchange'])) + tr:has(> td[colspan]) { order: -4; }
> tr:has(> td:is([title='date'], [title='folio_number'], [title='series'])),
> tr:has(> td:is([title='date'], [title='folio_number'], [title='series'])) + tr:has(> td[colspan]) { order: -3; }
> tr:has(> td:is([title='related_documents'], [title='global'], [title='export'])),
> tr:has(> td:is([title='related_documents'], [title='global'], [title='export'])) + tr:has(> td[colspan]) { order: 1; }
> tr:has(> td:is([title='pdf_custom_section'], [title='addenda'], [title='namespaces'], [title='pdf_options'])),
> tr:has(> td:is([title='pdf_custom_section'], [title='addenda'], [title='namespaces'], [title='pdf_options'])) + tr:has(> td[colspan]) { order: 2; }

@media (max-width: 50rem) {
grid-template-columns: minmax(0, 1fr);
}
}

@keyframes invoice-field-details-enter {
from {
opacity: 0;
transform: translateY(-0.4rem);
}

to {
opacity: 1;
transform: translateY(0);
}
}

@media (prefers-reduced-motion: reduce) {
[id='operation/createInvoice'] tbody:has(> tr > td[title='status'] + td select) > tr:has(> td[colspan]) {
animation: none;
}
}

html[data-theme='dark'] .redocusaurus button[aria-expanded='true'] {
border-color: transparent !important;
}
Expand Down
Loading