
<?php $__env->startSection('title','Customer'); ?>
<?php $__env->startSection('content'); ?>
        
        <div class="breadcrumbs">
            <div class="breadcrumbs-inner">
                <div class="row m-0">
                    <div class="col-sm-4">
                        <div class="page-header float-left">
                            <div class="page-title">
                                <h1>Customer</h1>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-8">
                        <div class="page-header float-right">
                            <div class="page-title">
                                <ol class="breadcrumb text-right">
                                    <li><a href="#">Master</a></li>
                                    <li><a href="#">Customer</a></li>
                                    <li class="active">Ubah Customer</li>
                                </ol>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- Content -->
        <div class="content">
            <div class="animated fadeIn">
                <div class="row">

                    <div class="col-md-12">
                        <div class="card">
                            <div class="card-header">
                                <strong class="card-title">Ubah Customer</strong>
                            </div>
                            <div class="card-body card-block">
                                <form action="<?php echo e(route('customer.update', ['customer' => $customer['id']])); ?>" method="post" enctype="multipart/form-data" class="form-horizontal">
                                    <?php echo csrf_field(); ?>
                                    <?php echo method_field('PUT'); ?>
                                    <div class="row form-group">
                                        <div class="col col-md-2"><label for="text-input" class=" form-control-label">Customer</label></div>
                                        <div class="col-12 col-md-7">
                                            <input type="text" id="text-input" name="nama_customer" placeholder="Nama Customer" class="form-control" value="<?php echo e($customer->nama_customer); ?>" required>
                                        </div>
                                    </div>

                                    <div class="row form-group">
                                        <div class="col col-md-2"><label for="text-input" class=" form-control-label">Telepon</label></div>
                                        <div class="col-12 col-md-4">
                                            <input type="text" id="text-input" name="telp" placeholder="Telepon" class="form-control" value="<?php echo e($customer->telp); ?>" required>
                                        </div>
                                    </div>

                                    <div class="row form-group">
                                        <div class="col col-md-2"><label for="text-input" class=" form-control-label">Email</label></div>
                                        <div class="col-12 col-md-4">
                                            <input type="email" id="text-input" name="email" placeholder="Email" class="form-control" value="<?php echo e($customer->email); ?>">
                                        </div>
                                    </div>

                                    <div class="row form-group">
                                        <div class="col col-md-2"><label for="text-input" class=" form-control-label">Alamat</label></div>
                                        <div class="col-12 col-md-4">
                                            <input type="text" id="text-input" name="alamat" placeholder="Alamat" class="form-control" value="<?php echo e($customer->alamat); ?>">
                                        </div>
                                    </div>

                                    <button type="submit" class="btn btn-primary">
                                        Simpan
                                    </button>
                                    <a href="<?php echo e(route('customer.index')); ?>" class="btn btn-default">
                                        Batal
                                    </button>
                                </form>
                            </div>
                           
                        </div>
                    </div>


                </div>
            </div><!-- .animated -->
        </div><!-- .content -->
        <!-- /.content -->

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\laragon\www\gib\resources\views/master/customer/edit.blade.php ENDPATH**/ ?>