Skip to content

Commit

Permalink
Describe payment statuses more clear in admin settings
Browse files Browse the repository at this point in the history
  • Loading branch information
lvgunst committed Nov 3, 2014
1 parent 1a215ce commit 81114b3
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 26 deletions.
10 changes: 5 additions & 5 deletions admin/language/dutch/payment/mollie_ideal.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
$_['error_description'] = "De omschrijving is verplicht!";

// Status
$_['entry_failed_status'] = 'Mislukt status:';
$_['entry_canceled_status'] = 'Geannuleerd status:';
$_['entry_expired_status'] = 'Verlopen status:';
$_['entry_pending_status'] = 'In afwachting status:';
$_['entry_processing_status']= 'Bezig met verwerken status:';
$_['entry_pending_status'] = 'Betaling aangemaakt status:';
$_['entry_failed_status'] = 'Betaling mislukt status:';
$_['entry_canceled_status'] = 'Betaling geannuleerd status:';
$_['entry_expired_status'] = 'Betaling verlopen status:';
$_['entry_processing_status']= 'Betaling succesvol status:';
10 changes: 5 additions & 5 deletions admin/language/english/payment/mollie_ideal.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
$_['error_description'] = "Description is required!";

// Status
$_['entry_failed_status'] = 'Failed Status:';
$_['entry_canceled_status'] = 'Canceled Status:';
$_['entry_expired_status'] = 'Expired Status:';
$_['entry_pending_status'] = 'Pending Status:';
$_['entry_processing_status'] = 'Processing Status:';
$_['entry_pending_status'] = 'Payment created status:';
$_['entry_failed_status'] = 'Payment failed status:';
$_['entry_canceled_status'] = 'Payment canceled status:';
$_['entry_expired_status'] = 'Payment expired status:';
$_['entry_processing_status'] = 'Payment successful status:';
30 changes: 14 additions & 16 deletions admin/view/template/payment/mollie_ideal.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,20 @@
</td>
</tr>

<tr>
<td><?php clean_echo($entry_pending_status) ?></td>
<td>
<select name="mollie_ideal_pending_status_id">
<?php foreach ($order_statuses as $order_status): ?>
<?php if ($order_status['order_status_id'] == $mollie_ideal_pending_status_id): ?>
<option value="<?php echo $order_status['order_status_id'] ?>" selected="selected"><?php echo $order_status['name'] ?></option>
<?php else: ?>
<option value="<?php echo $order_status['order_status_id'] ?>"><?php echo $order_status['name'] ?></option>
<?php endif ?>
<?php endforeach ?>
</select>
</td>
</tr>
<tr>
<td><?php clean_echo($entry_failed_status) ?></td>
<td>
Expand Down Expand Up @@ -91,7 +105,6 @@
</select>
</td>
</tr>

<tr>
<td><?php clean_echo($entry_expired_status) ?></td>
<td>
Expand All @@ -106,21 +119,6 @@
</select>
</td>
</tr>

<tr>
<td><?php clean_echo($entry_pending_status) ?></td>
<td>
<select name="mollie_ideal_pending_status_id">
<?php foreach ($order_statuses as $order_status): ?>
<?php if ($order_status['order_status_id'] == $mollie_ideal_pending_status_id): ?>
<option value="<?php echo $order_status['order_status_id'] ?>" selected="selected"><?php echo $order_status['name'] ?></option>
<?php else: ?>
<option value="<?php echo $order_status['order_status_id'] ?>"><?php echo $order_status['name'] ?></option>
<?php endif ?>
<?php endforeach ?>
</select>
</td>
</tr>
<tr>
<td><?php clean_echo($entry_processing_status) ?></td>
<td>
Expand Down

0 comments on commit 81114b3

Please sign in to comment.