HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/topswtw.komma.pro/app/storage/views/22064b0c95d2f61fce015638100450c8
<?php /*<?php echo dd($errors); ?>*/ ?>
<form action="<?php echo route('kms.customers.search.detail', ['customer' => $customer->id, 'shop' => $shopSlug]); ?>#customer" method="POST" id="entity-form" files="true" autocomplete="off">
<div class="entity-attribute entity-attribute-title">
    Account
</div>
<div class="entity-attribute entity-attribute-on-off <?php echo ($errors->has('active')? 'error': ''); ?>" data-uk-tooltip="{pos:'bottom-right'}" title="">
    <label for="active_checkbox">Actief</label>
    <input id="active" name="active" type="hidden" value="<?php echo $customer->active ? 1 : 0; ?>">
    <input class="toggle toggle-round-flat" id="active_checkbox" <?php if($customer->active): ?> checked="checked" <?php endif; ?> name="active_checkbox" type="checkbox" value="<?php echo $customer->active ? 1 : 0; ?>">
    <label for="active_checkbox" class="toggle-label"></label>

    <script>
        $("#active_checkbox").change(function () {
            $("#active").val($(this).prop('checked') ? 1 : 0);
        });
    </script>
</div>
<div class="entity-attribute entity-attribute-text">
    <label>Klantnummer</label>
    <div class="content"><?php echo $customer->customer_number; ?></div>
</div>
<div class="entity-attribute entity-attribute-text  ng-scope <?php echo ($errors->has('username')? 'error': ''); ?>" data-uk-tooltip="{pos:'bottom-right'}" title="" ng-controller="KmsAttributeTextFieldController">
    <label for="username">Gebruikersnaam</label>
    <input placeholder="Bv: &quot;tops&quot;" name="username" type="text" value="<?php echo $customer->username; ?>" id="username">
</div>
<div class="entity-attribute entity-attribute-password " id="kms-password_password" data-uk-tooltip="{pos:'bottom-right'}" title="">
    <label for="password">Wachtwoord</label>

    <div class="password-enabler">
        <a href="#">Verander het wachtwoord</a>
    </div>

    <div class="password-field">
        <?php echo Form::password('password', ['placeholder' => '']); ?>

    </div>

    <script>
        $(function(){

            var $passwordEnabler = $('#kms-password_password .password-enabler');
            var $passwordField = $('#kms-password_password .password-field');

            // The password input field needs to be removed, so it won't be saved when it hasn't changed
            var passwordFieldInner = $('#kms-password_password .password-field').html();
            $('#kms-password_password .password-field').html('');

            // Show the password field
            $('#kms-password_password .password-enabler a').click(function(){
                $('#kms-password_password .password-enabler').css('display', 'none');
                $('#kms-password_password .password-field').css('display', 'block');
                $('#kms-password_password .password-field').html(passwordFieldInner);

                // Hide the password field if empty on blur
                $('#kms-password_password .password-field input').blur(function(){
                    if(! $(this).val()){
                        $('#kms-password_password .password-enabler').css('display', 'block');
                        $('#kms-password_password .password-field').css('display', 'none');
                        $('#kms-password_password .password-field').html('');
                    }
                });

                $('#kms-password_password .password-field input').focus();
            });
        });
    </script>
</div>
<div class="entity-attribute entity-attribute-text  ng-scope <?php echo ($errors->has('email')? 'error': ''); ?>" data-uk-tooltip="{pos:'bottom-right'}" title="" ng-controller="KmsAttributeTextFieldController">
    <label for="email">Email</label>  <input placeholder="Bv: info@topswtwfilters.nl" ng-model="attributes.email" name="email" type="text" value=<?php echo $customer->email; ?> id="email">
</div>
<div class="entity-attribute entity-attribute-separator "></div>


<div class="entity-attribute entity-attribute-title">
    Information
</div>
<div class="entity-attribute entity-attribute-text <?php echo ($errors->has('first_name')? 'error': ''); ?>">
    <label>Titel</label>
    <?php echo form::text('title',(isset($input['title'])? $input['title']: $customer->title), ['class'=> '', 'disabled'=>'disabled','placeholder' => '']); ?>

</div>
<div class="entity-attribute entity-attribute-text <?php echo ($errors->has('title')? 'error': ''); ?>">
    <label>Voornaam</label>
    <?php echo form::text('first_name',(isset($input['first_name'])? $input['first_name']: $customer->first_name), ['class'=> '','placeholder' => 'Bv "Phil"']); ?>

</div>
<div class="entity-attribute entity-attribute-text <?php echo ($errors->has('name_insertion')? 'error': ''); ?>">
    <label>Tussenvoegsels</label>
    <?php echo form::text('name_insertion',(isset($input['name_insertion'])? $input['name_insertion']:$customer->name_insertion), ['class'=> '' ,'placeholder' => '']); ?>

</div>
<div class="entity-attribute entity-attribute-text <?php echo ($errors->has('last_name')? 'error': ''); ?>">
    <label>Achternaam</label>
    <?php echo form::text('last_name',(isset($input['last_name'])? $input['last_name']:$customer->last_name ), ['class'=> '', 'placeholder' => 'Bv "Van de"']); ?>

</div>
<div class="entity-attribute entity-attribute-text  ng-scope" data-uk-tooltip="{pos:'bottom-right'}" title="" ng-controller="KmsAttributeTextFieldController">
    <label for="company">Bedrijfsnaam</label>
    <input placeholder="Bv: &quot;TOPS WTW-Filters&quot;" name="company" type="text" value="<?php echo $customer->company; ?>" id="company">
</div>
<div class="entity-attribute entity-attribute-text <?php echo ($errors->has('postal')? 'error': ''); ?>">
    <label>Postcode </label>
    <?php echo form::text('postal',(isset($input['postal'])? $input['postal']:$customer->postal), ['class'=> '','placeholder' => 'Bv "11"']); ?>

</div>
<div class="entity-attribute entity-attribute-text <?php echo ($errors->has('city')? 'error': ''); ?>">
    <label>Plaats</label>
    <?php echo form::text('city',(isset($input['city'])? $input['city']:$customer->city), ['class'=> '','placeholder' => 'Bv "a-1"']); ?>

</div>
<div class="entity-attribute entity-attribute-text <?php echo ($errors->has('street')? 'error': ''); ?>">
    <label>Straat </label>
    <?php echo form::text('street',(isset($input['street'])? $input['street']:$customer->street), ['class'=> '','placeholder' => 'Bv "Tops WTW-Filters"']); ?>

</div>
<div class="entity-attribute entity-attribute-text <?php echo ($errors->has('number')? 'error': ''); ?>">
    <label>Nr</label>
    <?php echo form::text('number',(isset($input['number'])? $input['number']:$customer->house_number), ['class'=> '','placeholder' => 'Bv "1234 AA"']); ?>

</div>
<div class="entity-attribute entity-attribute-text <?php echo ($errors->has('number_suffix')? 'error': ''); ?>">
    <label>Nr toevoeging</label>
    <?php echo form::text('number_suffix',(isset($input['number_suffix'])? $input['number_suffix']:$customer->house_number_suffix), ['class'=> '','placeholder' => '']); ?>

</div>
<div class="entity-attribute entity-attribute-text <?php echo ($errors->has('telephone')? 'error': ''); ?>">
    <label>Telefoon nummer</label>
    <?php echo form::text('telephone',(isset($input['telephone'])? $input['telephone']:$customer->telephone), ['class'=> '','placeholder' => 'Bv "0484 88 88 88"']); ?>

</div>
<div class="entity-attribute entity-attribute-text <?php echo ($errors->has('country')? 'error': ''); ?>">
    <label>Land</label>
    <?php echo form::text('country',(isset($input['country'])? $input['country']:$customer->country), ['class'=> '', 'disabled'=>'disabled','placeholder' => 'Bv "Nederland"']); ?>

</div>

<div class="entity-attribute entity-attribute-separator "></div>
<div class="entity-attribute entity-attribute-list">
    <?php echo Form::label('', 'Bestellingen'); ?>


    <div class="content">
        <?php if($customer->orders->count() > 1): ?>
            <ul>
                <?php foreach($customer->orders as $order): ?>
                    <li><a href="<?php echo route('kms.orders.show', ['order' => $order->id]); ?>" target="_blank"><?php echo $order->order_number; ?></a></li>
                <?php endforeach; ?>
            </ul>
        <?php else: ?>
            <ul>
                <li>Geen bestellingen</li>
            </ul>
        <?php endif; ?>
    </div>

</div>
</form>