From b5b8319efcb13ceca621cbd8fe008d0b662d5bb2 Mon Sep 17 00:00:00 2001 From: EnesSacid-Buker <73346401+EnesSacid-Buker@users.noreply.github.com> Date: Thu, 3 Nov 2022 14:52:10 +0300 Subject: [PATCH 1/2] Fixed the names of stacks in blades (transaction & transfer) --- .../transactions/template/default.blade.php | 3 +++ .../transfers/template/default.blade.php | 18 ++++++++---------- .../transfers/template/second.blade.php | 17 +++++++---------- .../transfers/template/third.blade.php | 17 +++++++---------- 4 files changed, 25 insertions(+), 30 deletions(-) diff --git a/resources/views/components/transactions/template/default.blade.php b/resources/views/components/transactions/template/default.blade.php index 0814588e7..6690356c3 100644 --- a/resources/views/components/transactions/template/default.blade.php +++ b/resources/views/components/transactions/template/default.blade.php @@ -264,6 +264,9 @@ @stack('email_input_end') @endif + @stack('amount_input_start') + @stack('amount_input_end') + diff --git a/resources/views/components/transfers/template/default.blade.php b/resources/views/components/transfers/template/default.blade.php index 5ff3758db..2814e1c58 100644 --- a/resources/views/components/transfers/template/default.blade.php +++ b/resources/views/components/transfers/template/default.blade.php @@ -2,7 +2,7 @@ @stack('from_account_start') - @stack('from_account_id_start') + @stack('from_account_id_input_start') - @stack('from_account_id_end') + @stack('from_account_id_input_end')
@@ -86,7 +86,7 @@ @endif
@stack('from_account_end') @@ -94,7 +94,7 @@ @stack('to_account_start') - @stack('to_account_id_start') + @stack('to_account_id_input_start') - @stack('to_account_id_end') + @stack('to_account_id_input_end')
@@ -178,7 +178,7 @@ @endif
@stack('to_account_end') @@ -247,19 +247,20 @@ @stack('description_input_end') + @stack('amount_input_start') + @stack('amount_input_end') + @stack('details_end') - @stack('amount_start') + - @stack('amount_table_start') - @stack('amount_table_end')
- @stack('amount_input_start') - @stack('amount_input_end')
@@ -269,11 +270,8 @@
- @stack('amount_end') diff --git a/resources/views/components/transfers/template/second.blade.php b/resources/views/components/transfers/template/second.blade.php index cd3379192..160a5cdfd 100644 --- a/resources/views/components/transfers/template/second.blade.php +++ b/resources/views/components/transfers/template/second.blade.php @@ -68,7 +68,7 @@ @stack('from_account_start') - @stack('from_account_id_start') + @stack('from_account_id_input_start') - @stack('from_account_id_end') + @stack('from_account_id_input_end')
@@ -152,7 +152,7 @@ @endif
@stack('from_account_end') @@ -160,7 +160,7 @@ @stack('to_account_start') - @stack('to_account_id_start') + @stack('to_account_id_input_start')
@@ -242,20 +242,20 @@ @stack('to_account_address_input_end')
@endif + + @stack('amount_input_start') + @stack('amount_input_end') - @stack('to_account_id_end') + @stack('to_account_id_input_end') @stack('to_account_end') - @stack('amount_start') - @stack('amount_table_start') - @stack('amount_table_end')
- @stack('amount_input_start') - @stack('amount_input_end')
@@ -265,11 +265,8 @@
- @stack('amount_end') diff --git a/resources/views/components/transfers/template/third.blade.php b/resources/views/components/transfers/template/third.blade.php index e1034c8bd..3359a726a 100644 --- a/resources/views/components/transfers/template/third.blade.php +++ b/resources/views/components/transfers/template/third.blade.php @@ -6,7 +6,7 @@ @stack('from_account_start') - @stack('from_account_id_start') + @stack('from_account_id_input_start') - @stack('from_account_id_end') + @stack('from_account_id_input_end')
@@ -90,7 +90,7 @@ @endif
@stack('from_account_end') @@ -100,7 +100,7 @@ @stack('to_account_start') - @stack('to_account_id_start') + @stack('to_account_id_input_start') - @stack('to_account_id_end') + @stack('to_account_id_input_end')
@@ -184,7 +184,7 @@ @endif
@stack('to_account_end') @@ -257,19 +257,19 @@ @stack('description_input_end') + @stack('amount_input_start') + @stack('amount_input_end') + @stack('details_end') - @stack('amount_start') - @stack('amount_table_start') - @stack('amount_table_end')
- @stack('amount_input_start') - @stack('amount_input_end')
@@ -279,11 +279,8 @@
- @stack('amount_end') From dcadb0fdb001c0af9b58b2630b6197f04a4b0d46 Mon Sep 17 00:00:00 2001 From: EnesSacid-Buker <73346401+EnesSacid-Buker@users.noreply.github.com> Date: Thu, 3 Nov 2022 14:57:41 +0300 Subject: [PATCH 2/2] Comment added to stacks --- .../views/components/transactions/template/default.blade.php | 1 + resources/views/components/transfers/template/default.blade.php | 1 + resources/views/components/transfers/template/second.blade.php | 1 + resources/views/components/transfers/template/third.blade.php | 1 + 4 files changed, 4 insertions(+) diff --git a/resources/views/components/transactions/template/default.blade.php b/resources/views/components/transactions/template/default.blade.php index 6690356c3..be80ca1d4 100644 --- a/resources/views/components/transactions/template/default.blade.php +++ b/resources/views/components/transactions/template/default.blade.php @@ -265,6 +265,7 @@ @endif @stack('amount_input_start') + {{-- The reason for adding the amount part here is because the amount style is broken in the view. --}} @stack('amount_input_end') diff --git a/resources/views/components/transfers/template/default.blade.php b/resources/views/components/transfers/template/default.blade.php index 2814e1c58..87b4f38b6 100644 --- a/resources/views/components/transfers/template/default.blade.php +++ b/resources/views/components/transfers/template/default.blade.php @@ -248,6 +248,7 @@ @stack('description_input_end') @stack('amount_input_start') + {{-- The reason for adding the amount part here is because the amount style is broken in the view. --}} @stack('amount_input_end') diff --git a/resources/views/components/transfers/template/second.blade.php b/resources/views/components/transfers/template/second.blade.php index 160a5cdfd..830d242a8 100644 --- a/resources/views/components/transfers/template/second.blade.php +++ b/resources/views/components/transfers/template/second.blade.php @@ -244,6 +244,7 @@ @endif @stack('amount_input_start') + {{-- The reason for adding the amount part here is because the amount style is broken in the view. --}} @stack('amount_input_end') diff --git a/resources/views/components/transfers/template/third.blade.php b/resources/views/components/transfers/template/third.blade.php index 3359a726a..323facb10 100644 --- a/resources/views/components/transfers/template/third.blade.php +++ b/resources/views/components/transfers/template/third.blade.php @@ -258,6 +258,7 @@ @stack('description_input_end') @stack('amount_input_start') + {{-- The reason for adding the amount part here is because the amount style is broken in the view. --}} @stack('amount_input_end')