From bd8f680484d45d5afeb81e5dc62e33daa0bd9897 Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Thu, 13 Mar 2025 15:54:56 +0530 Subject: [PATCH] Fixed: multiple orders are create for the user, if the user clicks on the 'Confirm Order' while validating order from checque and bankwire from the front --- .../views/templates/front/payment_execution.tpl | 14 ++++++++++---- .../views/templates/front/payment_execution.tpl | 16 +++++++++++----- .../views/templates/front/payment_execution.tpl | 8 +++++++- .../views/templates/front/payment_execution.tpl | 8 +++++++- 4 files changed, 35 insertions(+), 11 deletions(-) diff --git a/modules/bankwire/views/templates/front/payment_execution.tpl b/modules/bankwire/views/templates/front/payment_execution.tpl index 88d9ad4a7..d7c41a2ba 100644 --- a/modules/bankwire/views/templates/front/payment_execution.tpl +++ b/modules/bankwire/views/templates/front/payment_execution.tpl @@ -85,15 +85,21 @@

- -  {l s='Other payment methods' mod='bankwire'} - + + {l s='Other payment methods' mod='bankwire'} + {*By webkul To Check Order restrict condition before Payment by the customer*} {if !$restrict_order} - {/if}

+ {/if} diff --git a/modules/cheque/views/templates/front/payment_execution.tpl b/modules/cheque/views/templates/front/payment_execution.tpl index df13864df..a608df34b 100644 --- a/modules/cheque/views/templates/front/payment_execution.tpl +++ b/modules/cheque/views/templates/front/payment_execution.tpl @@ -81,11 +81,17 @@ {l s='Other payment methods' mod='cheque'} {*By webkul To Check Order restrict condition before Payment by the customer*} - {if !$restrict_order} - - {/if} + {if !$restrict_order} + + {/if}

+ {/if} diff --git a/themes/hotel-reservation-theme/modules/bankwire/views/templates/front/payment_execution.tpl b/themes/hotel-reservation-theme/modules/bankwire/views/templates/front/payment_execution.tpl index b7e6fa42c..d7c41a2ba 100644 --- a/themes/hotel-reservation-theme/modules/bankwire/views/templates/front/payment_execution.tpl +++ b/themes/hotel-reservation-theme/modules/bankwire/views/templates/front/payment_execution.tpl @@ -90,10 +90,16 @@ {*By webkul To Check Order restrict condition before Payment by the customer*} {if !$restrict_order} - {/if}

+ {/if} diff --git a/themes/hotel-reservation-theme/modules/cheque/views/templates/front/payment_execution.tpl b/themes/hotel-reservation-theme/modules/cheque/views/templates/front/payment_execution.tpl index efeaa971b..1ff49aed0 100644 --- a/themes/hotel-reservation-theme/modules/cheque/views/templates/front/payment_execution.tpl +++ b/themes/hotel-reservation-theme/modules/cheque/views/templates/front/payment_execution.tpl @@ -82,10 +82,16 @@ {*By webkul To Check Order restrict condition before Payment by the customer*} {if !$restrict_order} - {/if}

+ {/if}