Server IP : 66.29.132.124 / Your IP : 18.117.71.102 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wavevlvu/book24.ng/modules/Vendor/Views/admin/plan/ |
Upload File : |
<div class="panel"> <div class="panel-title"><strong>{{__("Services ")}}</strong></div> <div class="panel-body"> <div class="table-responsive form-group"> <table class="table"> <thead> <tr> <th>{{__('Enable?')}}</th> <th>{{__('Post')}}</th> <th>{{__('Maximum create')}}</th> <th>{{__('Auto publish')}}</th> <th>{{__('Commission')}}</th> </tr> </thead> @foreach(config("booking.services") as $item=>$value) <?php $meta = $row->meta->where('post_type',$value)->first(); ;?> <tr> <td> <input style="display: inline-block" type="checkbox" name="services_options[{{$item}}][enable]" @if(@$meta->enable==1) checked @endif value="1"> </td> <td><input type="hidden" name="services_options[{{$item}}][post_type]" value="{{$item}}">{{call_user_func([$value,'getModelName'])}}</td> <td> <input type="number" value="{{@$meta->maximum_create}}" placeholder="Items" name="services_options[{{$item}}][maximum_create]" class="form-control"> </td> <td> <input type="checkbox" name="services_options[{{$item}}][auto_publish]" @if(@$meta->auto_publish==1) checked @endif value="1"> </td> <td> <input type="number" value="{{@$meta->commission}}" placeholder="Commission" name="services_options[{{$item}}][commission]" class="form-control"> </td> </tr> @endforeach </table> </div> </div> </div>