Making WordPress.org


Ignore:
Timestamp:
02/24/2016 11:21:30 PM (10 years ago)
Author:
iandunn
Message:

WordCamp Budgets: Don't show Vendor Payment question for Reimbursements.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/metabox-payment.php

    r2483 r2600  
    11<fieldset <?php disabled( $box['args']['fields_enabled'], false ); ?> >
     2
    23    <table class="form-table">
    3         <?php $this->render_textarea_input( $post, 'Did the vendor request a specific type of payment?', 'vendor_requested_payment_method', 'Add any relevant details' ); ?>
     4        <?php if ( $box['args']['show_vendor_requested_payment_method'] ) : ?>
     5            <?php $this->render_textarea_input( $post, 'Did the vendor request a specific type of payment?', 'vendor_requested_payment_method', 'Add any relevant details' ); ?>
     6        <?php endif;?>
     7
    48        <?php $this->render_radio_input( $post, 'Payment Method', 'payment_method' ); ?>
    59    </table>
Note: See TracChangeset for help on using the changeset viewer.