WordPress.org

Making WordPress.org

Changeset 8799


Ignore:
Timestamp:
05/15/2019 02:01:53 PM (3 years ago)
Author:
vedjain
Message:

CampTix-Invoices: Right align VAT and Total Cells for better readability

Currently the VAT and Total cells are separated from their values by two empty table cells, this patch merges these 3 cells.

props dion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/camptix-invoices/includes/views/invoice-template.php

    r8797 r8799  
    187187            <?php if ( ! empty( $invoice_metas['vat-number'] ) || ! empty( $camptix_opts['invoice-vat-number'] ) ) : ?>
    188188                <tr>
    189                     <td class="text-right"><?php esc_html_e('VAT', 'wordcamporg'); ?></td>
    190                     <td></td>
    191                     <td></td>
     189                    <td class="text-right" colspan="3"><?php esc_html_e('VAT', 'wordcamporg'); ?></td>
    192190                    <td class="text-right">
    193191                        <?php echo esc_html( CampTix_Addon_Invoices::format_currency( 0, $camptix_opts['currency'] ) ); ?>
     
    197195
    198196            <tr>
    199                 <td class="text-right"><?php esc_html_e( 'TOTAL', 'wordcamporg' ); ?></td>
    200                 <td></td>
    201                 <td></td>
     197                <td class="text-right" colspan="3"><?php esc_html_e( 'TOTAL', 'wordcamporg' ); ?></td>
    202198                <td class="text-right">
    203199                    <?php echo esc_html( CampTix_Addon_Invoices::format_currency( $invoice_order['total'], $camptix_opts['currency'] ) ); ?>
Note: See TracChangeset for help on using the changeset viewer.