Skip to content
Discussion options

You must be logged in to vote

@nhthinh-axonivy yes in invoice.scss it has this CSS Media which is blocking your printing. Just remove this CSS from invoice.scss

@media print {
    body * {
        visibility: hidden;
    }
    #invoice-content * {
        visibility: visible;
    }
    #invoice-content {
        width: 100%;
        position: absolute;
        left: 0;
        top: 0;
        padding: 0;
        margin: 0;
        background: #ffffff;
        color: rgba(41, 50, 65, 0.8);
    }

    .invoice {
        .invoice-to {
            border-top: 1px solid #F2F4F6;
        }

        .invoice-items table tr {
            border-bottom: 1px solid #F2F4F6;
        }
    }
}

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by melloware
Comment options

You must be logged in to vote
1 reply
@melloware
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Workaround Workaround for the issue is found
3 participants