update sometimes
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-12 gap-6 p-6" x-data="{
|
||||
amount: '{{ old('money') ?? '' }}',
|
||||
amount: '{{ old('total_amount') ?? '' }}',
|
||||
error: '',
|
||||
selectedPayment: null,
|
||||
showCustomAmount: false
|
||||
@@ -70,7 +70,7 @@
|
||||
Nhập số tiền tùy chọn
|
||||
</label>
|
||||
<div class="relative">
|
||||
<input type="number" name="money" x-model="amount"
|
||||
<input type="number" name="total_amount" x-model="amount"
|
||||
@input="error = amount < 200000 ? 'Số tiền tối thiểu là 200,000 đ' : ''"
|
||||
placeholder="200.000" min="200000"
|
||||
class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-primary focus:border-primary"
|
||||
@@ -115,7 +115,7 @@
|
||||
<form x-ref="vnpayForm" action="{{ route('recharge.paymentProcess.vnPay') }}"
|
||||
method="POST">
|
||||
@csrf
|
||||
<input type="hidden" name="money" x-bind:value="amount">
|
||||
<input type="hidden" name="total_amount" x-bind:value="amount">
|
||||
<button type="submit" :disabled="!amount || amount < 200000"
|
||||
class="w-full flex items-center justify-between p-4 bg-gray-700 text-white rounded-lg hover:bg-gray-800 transition-colors font-medium disabled:opacity-50 disabled:cursor-not-allowed">
|
||||
<div class="flex items-center space-x-3">
|
||||
|
||||
Reference in New Issue
Block a user