Ejemplo n.º 1
0
        <tr>
          <td align="right"><?php 
echo WPP_REFUND_TYPE;
?>
</td>
          <td><select name="refund_type" id="refund_type" onchange="hideAmount(this.value);"><option value=""></option><option value="Partial"><?php 
echo WPP_REFUND_PARTIAL;
?>
</option><option value="Full"><?php 
echo WPP_REFUND_FULL;
?>
</option></select></td>
        </tr>
        <tr>
          <td align="right"><?php 
echo WPP_REFUND_AMOUNT . ' ' . $paypal_wpp->get_currency_symbol();
?>
</td>
          <td><input type="text" name="refund_amount" id="refund_amount" maxlength="7" style="width: 70px; text-align: right"> <?php 
echo WPP_AMOUNT_OPTIONAL;
?>
</td>
        </tr>
        <tr>
          <td align="right"><?php 
echo WPP_ORDER_STATUS;
?>
</td>
          <td>
            <select name="refund_order_status" id="refund_order_status">
              <?php 
Ejemplo n.º 2
0
?>
" target="_top" method="POST">
        <input type="hidden" name="order_status" value="<?php 
echo $orders_history['orders_status_id'];
?>
">
        <table border="0" width="100%" cellspacing="0" cellpadding="5">
          <tr>
            <td colspan="2" class="window_header"><?php 
echo WPP_CHARGE_TITLE;
?>
</td>
          </tr>
          <tr>
            <td class="smallText" align="right"><?php 
echo WPP_AMOUNT_TO_CHARGE . ' ' . $paypal_wpp->get_currency_symbol();
?>
</td>
            <td class="smallText"><input type="text" name="paypalwpp_amount" id="refund_amount" maxlength="7" style="width: 70px; text-align: right"></td>
          </tr>
<?php 
$selection = $paypal_wpp->selection();
foreach ($selection['fields'] as $field) {
    echo '<tr>';
    echo '  <td align="right">' . $field['title'] . '</td>';
    echo '  <td>' . $field['field'] . '</td>';
    echo '</tr>';
}
?>
          <tr>
            <td colspan="2"><?php