<?php  $this->load->view('master/common/header.php',$data);
$base_name = $data['base_name'];
?>

    <div class="content">
        
        <!-- Start Content-->
        <div class="container-fluid">
            
            <!-- start page title -->
            <div class="row">
                <div class="col-12">
                    <div class="page-title-box">
                        <div class="page-title-right">
                            <ol class="breadcrumb m-0">
                                <li class="breadcrumb-item"><a href="javascript: void(0);"><?= $base_name;?></a></li>
                                <li class="breadcrumb-item active text-capitalize"><?= $page;?></li>
                            </ol>
                        </div>
                        <h4 class="page-title text-uppercase"><?= $page;?></h4>
                    </div>
                </div>
            </div>     
            <!-- end page title --> 

            <div class="row">
                <div class="col-md-8 col-xl-6">
                    <div class="card-box">
                        <div class="row">
                            <div class="col-sm-12">
                                <form class="form-horizontal" action="<?= base_url('master/customer/send/'.$customer['cust_id']);?>" method="post" enctype="multipart/form-data">
                                    <h4 class="header-title mb-4">Send Message</h4>
                                    <div class="row">
                                        
                                        <div class="col-sm-12">
            					            <div class="form-group">
                    							<label for="" class="control-label">Message <span>*</span></label>
                    							<div class="col-sm-12">
                    								<textarea type="text" class="form-control" rows="5" name="message_text" required>Dear <?=$customer['cust_name'];?>, ... Thanks & Regards <?=$base_name;?></textarea>
                    							</div>
                    						</div>
            					        </div>
            					     
        					        </div>
                                    <div class="form-group col-sm-12">
                                        <button type="submit" class="btn btn-success float-right m-2">Submit</button>
                                        <a href="<?php echo base_url().'master/customer'?>" class="btn float-right m-2 btn-secondary" title="">Back</a>
                                    </div>
                                
                                </form>
				            </div>
					    </div>
					</div>
				</div>
				<!-- /.col-md-6 -->
			</div>
			<!-- /.row -->
		</div>
		<!-- /.container-fluid -->
	</div>
	<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<?php $this->load->view('master/common/footer.php'); ?>
