@extends('layouts.admin_template')
@section('content')
<div class="main-panel">
    <div class="content">
            <div class="panel-header">
                <div class="page-inner py-5 text-white"  style="background:#313232">
                    <div class="d-flex align-items-left align-items-md-center flex-column flex-md-row">
                        <div><div class="page-header">
                            <h4 class="page-title text-white">Organizations</h4>
                            <ul class="breadcrumbs">
                                    <li class="nav-home">
                                        <a class="text-white" href="{{ route('admin-dashboard')}}">
                                            <i class="flaticon-home"></i>
                                        </a>
                                    </li>
                                    <li class="separator">
                                        <i class="flaticon-right-arrow"></i>
                                    </li>
                                    <li class="nav-item">
                                        <a class="text-white" href="{{ route('customers.index') }}">Customers</a>
                                    </li>
                                    <li class="separator">
                                        <i class="flaticon-right-arrow"></i>
                                    </li>
                                    <li class="nav-item">
                                        <a class="text-white" href="">View Organization</a>
                                    </li>
                                </ul>
                        </div></div>
                        <div class="ml-md-auto py-2 py-md-0">
                            <a href="{{ route('customers.index') }}" class="btn btn-white btn-border btn-round mr-2"><i class="fas fa-arrow-circle-left"></i> Back</a>
                        </div>
                    </div>
                </div>
            <div class="page-category">
                <div class="page-inner mt--5">
                    <div class="row mt--2">
                            <div class="col-md-12">
                                <div class="card full-height">
                                    <div class="card-body">
                                        <div class="card-title">View Organization</div>
                                        <div class="panel panel-default bg-light p-3 mb-3">
                                        <div class="panel-body">
                                        <div class="form-group row">
                                                    <div class="col-md-12">
                                                        <label for="">Name</label>
                                                        <input type="text" name="cust_name" value="{{ $customer->cust_name}}" class="form-control"required="" placeholder="Enter Name...">
                                                    </div>
                                                    <div class="col-md-6">
                                                        <label for="">Primary Contact</label>
                                                        <input type="text" name="cust_primary_contact_type" value="{{ $customer->cust_primary_contact_type}}" class="form-control"required="" placeholder="e.g. 700112233">
                                                    </div>
                                                
                                                    <div class="col-md-6">
                                                     <label for="">Secondary Contact</label>
                                                        <input type="text" name="cust_sec_contact" value="{{ $customer->cust_sec_contact}}" class="form-control" placeholder="e.g. 711223344">                                                        
                                                    </div>
                                                    <div class="col-md-6">
                                                        <label for="">Email Address</label>
                                                        <input type="email" name="email" value="{{ $customer->email}}" class="form-control"required="" placeholder="Enter Email Address...">
                                                    </div>
													<div class="col-md-6">
                                                        <label for="">Username</label>
                                                        <input type="text" name="cust_username" value="{{ $customer->cust_username}}" class="form-control"required="" placeholder="Enter Username...">
                                                    </div>
                                                    </div>
                                    </div>
                                    </div>
                                    </div>
                                </div>
                            </div>
                        </div>
            </div>
            </div>
        </div>
    </div>
    @endsection