<?php

$clients = getClients();

//echo "<pre>"; print_r($clients);exit;

$techGuys = getUsersByLevel( 4 );

$currentUser = getUserDetailsById($_SESSION['jigowatt']['user_id']);

$invoicePhotos = !empty($_SESSION['invoice']) ? getInvoicePhotos( $_SESSION['invoice'] ) : array();

?>

<!-- Modal -->

<div class="modal fade" id="estimationAppointmentModal" tabindex="-1" role="dialog" aria-labelledby="estimationAppointmentModalTitle" aria-hidden="true">

    <div class="modal-dialog modal-dialog-centered" role="document">

        <div class="modal-content">

            <div class="modal-header">

                <h5 class="modal-title" id="exampleModalLongTitle">ESTIMATION APPOINTMENT</h5>

                <button type="button" class="close" data-dismiss="modal" aria-label="Close">

                    <span aria-hidden="true">&times;</span>

                </button>

            </div>

            <div class="modal-body">

                <div class="row">

                <div class="col-md-6">

                    <div class="panel panel-primary">

                        <div class="panel-heading">

                            <a class="btn btn-info text-right" href="/admin/client.php/"><i class="glyphicon glyphicon-plus"></i> Create Client</a>

                        </div>

                        <div class="panel-body">

                            <div class="col-md-12">

                                <div class="form-group"