diff --git a/admin/themes/default/template/controllers/cart_rules/modal_confirm_bulk_delete.tpl b/admin/themes/default/template/controllers/cart_rules/modal_confirm_bulk_delete.tpl index b4403b359..6e77c7386 100644 --- a/admin/themes/default/template/controllers/cart_rules/modal_confirm_bulk_delete.tpl +++ b/admin/themes/default/template/controllers/cart_rules/modal_confirm_bulk_delete.tpl @@ -19,28 +19,63 @@
{l s='The following cart rules in your selection were created dynamically from refunds or credit slips. Please confirm if you also intend to delete these cart rules.'}
+ {if isset($cartRules)} +{l s='The following cart rules in your selection were created dynamically from refunds or credit slips. Please confirm if you also intend + to delete these cart rules.'}
+ {else} +{l s='Are you sure, you want to delete the selected cart rules?'}
+ + {/if}| - - | -- #{$cartRule['id_cart_rule']} - | -- {if $cartRule['generated_by'] == CartRule::GENERATED_BY_REFUND} - {l s='Generated against refund'} - {else if $cartRule['generated_by'] == CartRule::GENERATED_BY_ORDER_SLIP} - {l s='Generated against credit slip'} - {/if} - | -
| + | ++ {l s='Cart Rule'} + | ++ {l s='Reason'} + | ++ {l s='Order'} + | ++ {l s='Amount'} + | +
|---|---|---|---|---|
| + + | ++ #{$cartRule['id_cart_rule']} + | ++ {if $cartRule['generated_by'] == CartRule::GENERATED_BY_REFUND} + {l s='Generated against refund'} + (#{$cartRule['id_generated_by']}) + {else if $cartRule['generated_by'] == CartRule::GENERATED_BY_ORDER_SLIP} + {l s='Generated against credit slip'} + (#{$cartRule['id_generated_by']}) + {/if} + | ++ #{$cartRule['order']->id} + | ++ {displayPrice price=$cartRule['cart_rule']->reduction_amount currency=$cartRule['cart_rule']->reduction_currency} + | + +
{l s='Are you sure, you want to delete this cart rule?'}
- {$cartRule->code} (#{$cartRule->id}) -
-- {if $generatedBy == CartRule::GENERATED_BY_REFUND} - {l s='Generated against refund'} - {else if $generatedBy == CartRule::GENERATED_BY_ORDER_SLIP} - {l s='Generated against credit slip'} - {/if} -
-{displayPrice price=$cartRule->reduction_amount currency=$cartRule->reduction_currency}
-- {$customer->firstname} {$customer->lastname} (#{$customer->id}) -
-- {$order->reference} (#{$order->id}) -
+{if isset($cartRule)} ++ {$cartRule->code} (#{$cartRule->id}) +
++ {if $generatedBy == CartRule::GENERATED_BY_REFUND} + {l s='Generated against refund'} + (#{$generatedById}) + {else if $generatedBy == CartRule::GENERATED_BY_ORDER_SLIP} + {l s='Generated against credit slip'} + (#{$generatedById}) + {/if} +
+{displayPrice price=$cartRule->reduction_amount currency=$cartRule->reduction_currency}
++ {$customer->firstname} {$customer->lastname} (#{$customer->id}) +
++ {$order->reference} (#{$order->id}) +
+{l s='Are you sure you want to change the status?'}
+{l s='This action is irreversable, Are you sure you want to change the status?'}