PATH:
home
/
letacommog
/
letaweb
/
admin
/
views
/
builder
/
ecommerce
/
order
/
payment
<?php Yii::app()->ecommerce->loadLanguageFile('payment/pp_express_order'); ?> <uib-tab heading="<?php echo Language::term('text_payment_info'); ?>" disable="data.paypal_order==undefined"> <table class="table table-striped table-bordered"> <tr> <td><?php echo Language::term('text_capture_status'); ?></td> <td id="capture_status">{{data.paypal_order.capture_status}}</td> </tr> <tr> <td><?php echo Language::term('text_amount_auth'); ?></td> <td>{{currencyService.format(data.paypal_order.total*1, 0, 0, data.currency_code, data.currency_value)}} <div ng-if="data.paypal_order.capture_status != 'Complete'"> <a ng-click="pp_expressDoVoid()" href="javascript:void(0);" class="button paypal_capture btn btn-primary" id="button-void"><?php echo Language::term('button_void'); ?></a> <span class="btn btn-primary" id="img_loading_void" style="display:none;"><i class="fa fa-circle-o-notch fa-spin fa-lg"></i></span> </div></td> </tr> <tr> <td><?php echo Language::term('text_amount_captured'); ?></td> <td id="paypal_captured">{{currencyService.format(data.paypal_order.captured*1, 0, 0, data.currency_code, data.currency_value)}}</td> </tr> <tr> <td><?php echo Language::term('text_amount_refunded'); ?></td> <td id="paypal_refunded">{{currencyService.format(data.paypal_order.refunded*1, 0, 0, data.currency_code, data.currency_value)}}</td> </tr> <div ng-if="data.paypal_order.capture_status != 'Complete'"> <tr class="paypal_capture"> <td><?php echo Language::term('text_capture_amount'); ?></td> <td><p> <input type="checkbox" ng-model="paypal_capture_complete" ng-true-value="'1'" ng-false-value="'0'"/> <?php echo Language::term('text_complete_capture'); ?></p> <p> <input type="text" size="10" ng-model="data.paypal_order.remaining"/> <a class="btn btn-primary" ng-click="pp_expressCapture();" id="button_capture"><?php echo Language::term('button_capture'); ?></a> <span class="btn btn-primary" id="img_loading_capture" style="display:none;"><i class="fa fa-circle-o-notch fa-spin fa-lg"></i></span> </p></td> </tr> </div> <tr> <td><?php echo Language::term('text_transactions'); ?>:</td> <td><table class="table table-striped table-bordered" id="paypal_transactions"> <thead> <tr> <td class="text-left"><strong><?php echo Language::term('column_trans_id'); ?></strong></td> <td class="text-left"><strong><?php echo Language::term('column_amount'); ?></strong></td> <td class="text-left"><strong><?php echo Language::term('column_type'); ?></strong></td> <td class="text-left"><strong><?php echo Language::term('column_status'); ?></strong></td> <td class="text-left"><strong><?php echo Language::term('column_pend_reason'); ?></strong></td> <td class="text-left"><strong><?php echo Language::term('column_date_added'); ?></strong></td> <td class="text-left"><strong><?php echo Language::term('column_action'); ?></strong></td> </tr> </thead> <tbody> <tr ng-repeat="transaction in data.paypal_order.transactions"> <td class="text-left">{{transaction.transaction_id}}</td> <td class="text-left">{{currencyService.format(transaction.amount*1, 0, 0, data.currency_code, data.currency_value)}}</td> <td class="text-left">{{transaction.payment_type}}</td> <td class="text-left">{{transaction.payment_status}}</td> <td class="text-left">{{transaction.pending_reason}}</td> <td class="text-left">{{transaction.date_added}}</td> <td class="text-left"><div ng-if="transaction.transaction_id"> <span ng-if="transaction.payment_type == 'instant' && (transaction.payment_status == 'Completed'|| transaction.payment_status == 'Partially-Refunded')"> <a ng-click="pp_expressRefund(transaction)" href="javascript:void(0);"><?php echo Language::term('text_refund'); ?></a> </span> <span ng-if="(transaction.payment_type == 'instant' && (transaction.payment_status == 'Failed'))"> <a ng-click="pp_expressResendTransaction(transaction,$index)" href="javascript:void(0);"><?php echo Language::term('text_resend'); ?></a> </span> <span ng-if="!(transaction.payment_type == 'instant' && (transaction.payment_status == 'Completed'|| transaction.payment_status == 'Refunded' ||transaction.payment_status == 'Partially-Refunded'))"> <a ng-click="pp_expressReloadTransaction(transaction,$index)" href="javascript:void(0);"><?php echo Language::term('text_reload'); ?></a> </span> </div></td> </tr> </tbody> </table></td> </tr> </table> </uib-tab>
[+]
..
[-] pm_paypal_express.php
[edit]