Update Service details

@include('adminlte::widget.success') @csrf
@include('adminlte::widget.form_toggle',[ 'label'=>'External Billing', 'id'=>'external_billing', 'old'=>'external_billing', 'name'=>'external_billing', 'value'=>$o->external_billing ?? '', ]) @include('adminlte::widget.form_toggle',[ 'label'=>'Suspend Billing', 'id'=>'suspend_billing', 'old'=>'suspend_billing', 'name'=>'suspend_billing', 'value'=>$o->suspend_billing ?? '', ])
@include('adminlte::widget.form_date',[ 'label'=>'Billing Start Date', 'icon'=>'fas fa-calendar', 'id'=>'invoice_next_at', 'old'=>'invoice_next_at', 'name'=>'invoice_next_at', 'value'=>$o->invoice_next_at ? $o->invoice_next_at->format('Y-m-d') : ($o->connect_at ? $o->connect_at->format('Y-m-d') : ''), ])
@include('adminlte::widget.form_text',[ 'label'=>'Price', 'icon'=>'fas fa-dollar-sign', 'id'=>'price', 'old'=>'price', 'name'=>'price', 'value'=>$o->price ?? '', ])
@include('adminlte::widget.form_select',[ 'label'=>'Renew Term', 'icon'=>'fas fa-redo', 'id'=>'recur_schedule', 'old'=>'recur_schedule', 'name'=>'recur_schedule', 'options'=>collect(\App\Models\Invoice::billing_periods)->transform(function($item,$key) { return ['id'=>$key,'value'=>$item['name']]; }), 'value'=>$o->recur_schedule ?? '', ])
@include('adminlte::widget.form_text',[ 'label'=>'Override Price', 'icon'=>'fas fa-dollar-sign', 'id'=>'price_override', 'old'=>'price_override', 'name'=>'price_override', 'value'=>$o->price_override ?? '', ])

@includeIf('service.widget.'.$o->product->category.'.update',['o'=>$o->type])
@can('wholesaler') @endcan