update sometimes

This commit is contained in:
pbao9
2025-07-28 17:02:13 +07:00
parent c1698e7fe7
commit 5ea42105f9
25 changed files with 259 additions and 325 deletions
@@ -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">