Changeset 2637
- Timestamp:
- 02/26/2016 01:49:52 AM (9 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/payment-request.php
r2633 r2637 216 216 ); 217 217 218 $introduction_message = sprintf( 219 '<p>%s</p> <p>%s</p>', 220 __( 'Direct Deposit or Wire is the fastest way to pay a vendor. Checks and credit card payments can take 3-5 days for us and/or the bank to process.', 'wordcamporg' ), 221 __( 'Each wire transfer costs us processing fees, so please try to avoid multiple wire requests for one vendor.', 'wordcamporg' ) 222 ); 223 218 224 add_meta_box( 219 225 'wcp_payment_details', … … 223 229 'normal', 224 230 'high', 225 array( 'meta_key_prefix' => 'camppayments' ) 231 array( 232 'meta_key_prefix' => 'camppayments', 233 'introduction_message' => $introduction_message, 234 ) 226 235 ); 227 236 -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/reimbursement-request.php
r2600 r2637 169 169 'normal', 170 170 'high' 171 ); 172 173 $introduction_message = sprintf( 174 '<p>%s</p> <p>%s</p>', 175 __( 'This is where you can give us information on how we can reimburse you for approved expenses that you paid out-of-pocket.', 'wordcamporg' ), 176 __( 'Each wire transfer and check costs us processing fees, so if you have multiple out-of-pocket expenses, please try to group them into one reimbursement request.', 'wordcamporg' ) 171 177 ); 172 178 … … 181 187 'meta_key_prefix' => 'wcbrr', 182 188 'fields_enabled' => user_can_edit_request( $post ), 189 'introduction_message' => $introduction_message, 183 190 'show_vendor_requested_payment_method' => false, 184 191 ) -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/metabox-payment.php
r2636 r2637 1 <?php if ( ! empty( $box['args']['introduction_message'] ) ) : ?> 2 <p> 3 <?php echo wp_kses( $box['args']['introduction_message'], array( 'p' => array() ) ); ?> 4 </p> 5 <?php endif; ?> 6 1 7 <fieldset <?php disabled( $box['args']['fields_enabled'], false ); ?> > 2 8 … … 17 23 </table> 18 24 19 <table id="payment_method_check_fields" class="form-table payment_method_fields <?php echo 'Check' == $selected_payment_method ? 'active' : 'hidden'; ?>"> 20 <?php $this->render_text_input( $post, 'Payable To', 'payable_to' ); ?> 21 <?php $this->render_text_input( $post, 'Street Address', 'check_street_address' ); ?> 22 <?php $this->render_text_input( $post, 'City', 'check_city' ); ?> 23 <?php $this->render_text_input( $post, 'State / Province', 'check_state' ); ?> 24 <?php $this->render_text_input( $post, 'ZIP / Postal Code', 'check_zip_code' ); ?> 25 <?php $this->render_country_input( $post, 'Country', 'check_country' ); ?> 26 </table> 25 <div id="payment_method_check_fields" class="form-table payment_method_fields <?php echo 'Check' == $selected_payment_method ? 'active' : 'hidden'; ?>"> 26 <p> 27 <?php _e( 'Please fill out all the below fields to ensure that the check is sent successfully.', 'wordcamporg' ); ?> 28 </p> 29 30 <table> 31 <?php $this->render_text_input( $post, 'Payable To', 'payable_to' ); ?> 32 <?php $this->render_text_input( $post, 'Street Address', 'check_street_address' ); ?> 33 <?php $this->render_text_input( $post, 'City', 'check_city' ); ?> 34 <?php $this->render_text_input( $post, 'State / Province', 'check_state' ); ?> 35 <?php $this->render_text_input( $post, 'ZIP / Postal Code', 'check_zip_code' ); ?> 36 <?php $this->render_country_input( $post, 'Country', 'check_country' ); ?> 37 </table> 38 </div> 27 39 28 40 <p id="payment_method_credit_card_fields" class="description payment_method_fields <?php echo 'Credit Card' == $selected_payment_method ? 'active' : 'hidden'; ?>"> … … 31 43 32 44 <div id="payment_method_wire_fields" class="form-table payment_method_fields <?php echo 'Wire' == $selected_payment_method ? 'active' : 'hidden'; ?>"> 45 <p> 46 <?php _e( 47 'Please include Bank Name, SWIFT code, Beneficiary Name, and Beneficiary Account Number to ensure that your wire is sent successfully.', 48 'wordcamporg' 49 ); ?> 50 </p> 51 33 52 <table> 34 53 <?php $this->render_text_input( $post, 'Beneficiary’s Bank Name', 'bank_name' ); ?>
Note: See TracChangeset
for help on using the changeset viewer.