Pārlūkot izejas kodu

充值支付方式

sunhao 5 gadi atpakaļ
vecāks
revīzija
e7a0cc2107

+ 1 - 0
app/Http/Controllers/Admin/CustomerDepositController.php

@@ -169,6 +169,7 @@ class CustomerDepositController extends Controller
169 169
         $deposit->phone = $request->input('phone');
170 170
         $deposit->admin_id = $admin_id;
171 171
         $deposit->pay_time = $request->input('pay_time');
172
+        $deposit->payment_type = $request->input('payment_type');
172 173
 
173 174
         if($pay_money>0){
174 175
             //自定义充值

+ 12 - 0
resources/views/deposit/create.blade.php

@@ -69,6 +69,18 @@
69 69
                 </div>
70 70
             </div>
71 71
 
72
+            <div class="row cl">
73
+                <label class="form-label col-xs-4 col-sm-2">
74
+                    <font color='red'>* </font>支付方式:</label>
75
+                <div class="formControls col-xs-6 col-sm-6">
76
+                    <input type="radio" name="payment_type"  value="1" @if(old('payment_type')==='1') checked @else checked @endif>
77
+                    <label for="status-1" style="margin-right: 27px;">微信支付</label>
78
+                    <input type="radio" name="payment_type" value="3" @if(old('payment_type')==='3') checked @endif>
79
+                    <label for="status-0" style="margin-right: 27px;">个体户支付</label>
80
+        
81
+                </div>
82
+            </div>
83
+
72 84
             @if($self_role !='销售' )
73 85
             <div class="row cl">
74 86
                 <label class="form-label col-xs-4 col-sm-2">