getStatus() ?: 'draft'; $show_adjust = \EasyInvoice\Controllers\SettingsController::shouldShowQuoteAdjustField(); $second_date = $is_quote ? $document->getExpiryDate() : $document->getDueDate(); $second_label = $is_quote ? __( 'Valid until', 'easy-invoice' ) : __( 'Due', 'easy-invoice' ); ?>
getTemplate() ) ); ?>

getTitle() ?: ( $is_quote ? __( 'Quote', 'easy-invoice' ) : __( 'Invoice', 'easy-invoice' ) ) ); ?>

getNumber() ); ?> • getIssueDate() ) ); ?>
getCustomerName() ) : ?>
getCustomerName() ); ?>
getCustomerEmail() ); ?>
getCustomerAddress() ) ); ?>
getNotes() ) : ?>

getNotes() ) ); ?>

getItems() as $item ) : ?>
getName() ); ?> getDescription() ); ?> getQuantity() ); ?> format( $item->getPrice() ) ); ?> getAdjustPercentage(); echo 0.0 !== $adjust ? esc_html( ( $adjust > 0 ? '+' : '' ) . $adjust . '%' ) : '—'; ?> format( $item->getAmount() ) ); ?>
: format( $document->getSubtotal() ) ); ?>
getDiscountAmount() > 0 ) : ?>
: -format( $document->getDiscountAmount() ) ); ?>
getTaxAmount() > 0 ) : ?>
: format( $document->getTaxAmount() ) ); ?>
: format( $document->getTotal() ) ); ?>