From fbb58261789b0646d67717c1df5a14671c5e06fb Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 29 Sep 2019 12:02:30 +0300 Subject: [PATCH] Duplicate payments --- resources/views/payments/edit.blade.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/resources/views/payments/edit.blade.php b/resources/views/payments/edit.blade.php index 24ee49d3ab..52252950d1 100644 --- a/resources/views/payments/edit.blade.php +++ b/resources/views/payments/edit.blade.php @@ -14,7 +14,7 @@ @section('content') - {!! Former::open($url) + {!! Former::open($payment ? $url : '') ->addClass('col-lg-10 col-lg-offset-1 warn-on-exit main-form') ->onsubmit('return onFormSubmit(event)') ->method($method) @@ -134,6 +134,7 @@