80 lines
3 KiB
PHP
80 lines
3 KiB
PHP
@extends('layouts.layout-2')
|
|
|
|
@section('content')
|
|
|
|
@if ($errors->any())
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="alert alert-danger">
|
|
<ul>
|
|
@foreach ($errors->all() as $error)
|
|
<li>{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
|
|
|
|
<h4 class="font-weight-bold mb-4">
|
|
Kunden
|
|
</h4>
|
|
|
|
{!! Form::open(['url' => url()->current(), 'class' => '']) !!}
|
|
<div class="card mb-4">
|
|
|
|
<div class="card-body">
|
|
<!-- Controls -->
|
|
|
|
<div class="form-group mb-1">
|
|
<label class="form-label" for="description">Description</label>
|
|
{{ Form::textarea('text', $text, array('class'=>'form-control', 'rows'=>1)) }}
|
|
</div>
|
|
<button type="submit" name="action" value="checkForAll" class="btn btn-primary"><i class="ion"></i> checkForAll</button>
|
|
|
|
<button type="submit" name="action" value="makePaymentMethodsDefault" class="btn btn-primary"><i class="ion"></i> make PaymentMethods Default</button>
|
|
|
|
<button type="submit" name="action" value="checkContractPDF" class="btn btn-primary"><i class="ion"></i> check Contract PDF</button>
|
|
|
|
|
|
</div>
|
|
|
|
@if(count($values)>0)
|
|
<div class="card-body">
|
|
|
|
<div class="card-datatable table-responsive">
|
|
<table class="table table-striped table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th style="max-width: 60px;">ID</th>
|
|
<th>{{__('Mail')}}</th>
|
|
<th>{{__('is like')}}</th>
|
|
<th>{{__('OrderID')}}</th>
|
|
<th>{{__('txaction')}}</th>
|
|
<th>{{__('Action')}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($values as $shopping_user)
|
|
<tr>
|
|
<td>{{$shopping_user->id}}</td>
|
|
<td>{{$shopping_user->billing_email}}</td>
|
|
<td>{{$shopping_user->is_like}}</td>
|
|
<td>@if($shopping_user->shopping_order){{$shopping_user->shopping_order->id}}@endif</td>
|
|
<td>@if($shopping_user->shopping_order){{$shopping_user->shopping_order->txaction}}@endif</td>
|
|
<td><button type="submit" name="action" value="checkOne_{{$shopping_user->id}}" class="btn btn-xs btn-primary"><i class="ion"></i> checkOne</button></td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
<!-- Controls -->
|
|
</div>
|
|
</div>
|
|
@endif
|
|
|
|
</div>
|
|
{!! Form::close() !!}
|
|
|
|
@endsection
|
|
|