</p>
                
    	<?php 
do_action('mdjm_pre_contract_content', $mdjm_event->ID);
?>
	</div><!-- end mdjm-contract-header -->
    
    <hr />
    <div id="mdjm-contract-content">
    
    	<?php 
do_action('mdjm_pre_contract_content', $mdjm_event->ID);
?>
        
        <?php 
echo mdjm_show_contract($mdjm_event->get_contract(), $mdjm_event);
?>
        
        <?php 
do_action('mdjm_post_contract_footer', $mdjm_event->ID);
?>
    
    </div><!-- end mdjm-contract-content -->
    <hr />
    
    <div id="mdjm-contract-footer">
    	<?php 
do_action('mdjm_pre_contract_footer', $mdjm_event->ID);
?>
        
        <p class="mdjm-alert mdjm-alert-success"><span style="font-weight: bold;"><?php 
/**
 * Displays the signed contract for review.
 *
 * @since	1.3.6
 * @param	int		$event_id	The event ID.
 * @return	void
 */
function mdjm_review_signed_contract()
{
    if (empty($_GET['mdjm_action'])) {
        return;
    }
    if ('review_contract' !== $_GET['mdjm_action']) {
        return;
    }
    if (!mdjm_employee_can('manage_events')) {
        return;
    }
    $mdjm_event = new MDJM_Event($_GET['event_id']);
    if (!mdjm_is_admin()) {
        if (!array_key_exists(get_current_user_id(), $mdjm_event->get_all_employees())) {
            return;
        }
    }
    if (!$mdjm_event->get_contract_status()) {
        printf(__('The contract for this %s is not signed', 'mobile-dj-manager'), mdjm_get_label_singular());
        exit;
    }
    $contract_id = $mdjm_event->get_contract();
    if (empty($contract_id)) {
        return;
    }
    echo mdjm_show_contract($contract_id, $mdjm_event);
    exit;
}