<?php $__env->startSection('content'); ?>

<div class="row margin-top-55">
    <div class="col-md-2">
		<ul class="left_nav">
   			<li><a href="<?php echo URL::to('my-documents'); ?>" class="active">MY DOCUMENTS</a></li>
            <li><a href="<?php echo URL::to('my-signatures'); ?>">MY SIGNATURES</a></li>
    	</ul>
    </div>
    <div class="col-md-10">
        <div class="gray_container standart-15">
            <div class="row">
                <div class="col-md-offset-1 col-md-10">
                    <h4 class="head_h4">MY DOCUMENTS</h4>
                    <p>Since this is your first investment through Banq, you will need to setup your account at TriPoint Global Securities, LLC. Please complete the following form.</p>
                    
                    <?php if(is_array($documents)): ?>
                    	<table class="table borderless">
                        	<thead>
                                <tr>
                                    <th>Account Name</th>
                                    <th>Document</th>
                                    <th>Offering</th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php foreach($documents as $document): ?>
                                <tr>
                                    <td><?php echo $document['accountName']; ?></td>
                                    <td><a href="/public/uploads/documents/<?php echo $document['accountnumber']; ?>/<?php echo $document['offering_id']; ?>/<?php echo $document['fileName']; ?>" target="_blank"><?php echo $document['fileName']; ?></a></td>
                                    <td><a href="<?php echo URL::to('offerings/'.$document['offering_id']); ?>"><?php echo $document['offering']; ?></a></td>
                                </tr>
                                <?php endforeach; ?>
                            </tbody>
                        </table>
                    <?php endif; ?>
                  	
                </div> 
            </div>          
        </div>
    </div>
</div>

<?php $__env->stopSection(); ?>