<?php include("parent/callMe.php"); ?>

<?php  include("sessioncheck.php"); ?>

<!DOCTYPE html>

<html lang="en">

  <head>

   

    <title> Fee Settings | EduPortal </title>

    <?php include('RootMe/css_links.php');?>

    <style type="text/css">

 



  .tile-stats .icon i{

    font-size: 35px; 

  }



    .vl {

  border-left: 1px solid lightgray;

  height: 40px;

  position: absolute;

  left: 50%;

  margin-left: -3px;

  margin-top: 24px;

}

.x_content h4 {

    font-size: 16px;

    font-weight: 500;

    color: #00adef;

}







    </style>



<script type="text/javascript">

ClassicEditor

    .create( document.querySelector( '#editor' ), {

        fontSize: {

            options: [

                9,

                11,

                13,

                'default',

                17,

                19,

                21

            ]

        },

        toolbar: [

            'heading', 'bulletedList', 'numberedList', 'fontSize', 'undo', 'redo'

        ]

    } )

    .then( ... )

    .catch( ... );





</script>

  </head>



  <body class="nav-md">

    <div class="container body">

      <div class="main_container">

        <div class="col-md-3 left_col">

     

        <?php include('RootMe/sidebar.php');?>



        <?php include('RootMe/header.php');?>

     

     

        <!-- page content -->

        <div class="right_col" role="main">



          <a href="<?php echo $_SESSION['dashboard'];?>" style="margin-left: 33px;">Dashboard </a> &nbsp; <i style="" class="fa fa-angle-double-right"></i>  &nbsp;



          <a href="multi_fee_reports.php">Fee Reports </a> &nbsp; <i style="" class="fa fa-angle-double-right"></i>  &nbsp;  



          Fee Settings



          <a  href="manage_fee_heads.php" class="btn btn-round btn-danger quiklink pull-right">Manage Fee Heads </a>



          <br/><br/>

       

          

            <div class="row">



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

                <div class="x_panel">

                  <div class="x_title">

                    <h2> Update Fee Settings </h2>

                  

                    <div class="clearfix"></div>

                  </div>

                  <div class="x_content">





                

                      <div id="step-1"  >

                  

      

      <form class="form-style-7" action="<?php echo DOMAIN.AgentDirectory;?>parent/InsertMe.php" method="post" enctype="multipart/form-data">

              

        <input type="hidden" name="action" value="Update_Fee_Details" />        

        <input type="hidden" name="current_session" value="<?php echo $_SESSION['current_session'];?>">

        <input type="hidden" name="Branch_Name" value="<?php echo $_SESSION['branch_name'];?>">

               



          <div class="col-md-12"><h4>SMS Settings</h4></div>



        



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

                          <div class="form-group" >

                            

                            <label> SMS on Fee Receiving </label>

                               <select name="fee_recv_sms"  id="fee_recv_sms" class="form-control" >

              

                                   <option <?php if($brid[0]['fee_recv_sms']==1){echo "selected";} ?> value="1">YES</option>

                                   <option <?php if($brid[0]['fee_recv_sms']==0){echo "selected";} ?> value="0">NO</option>

                                   

    

                          </select>

                        </div>

                    </div>



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

                          <div class="form-group" >

                            

                            <label> Double SMS Of Fee To Principal</label>

                               <select name="principalSMS"  id="principalSMS" class="form-control" >

              

            <option <?php if($brid[0]['double_confirmation_sms_to_principal']==1){echo "selected";} ?> value="1">YES</option>

            <option <?php if($brid[0]['double_confirmation_sms_to_principal']==0){echo "selected";} ?> value="0">NO</option>

                         

                          </select>

                        </div>

                    </div>



                

            

            <div class="col-md-12"><h4>Fee Settings</h4></div>



                    

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

                          <div class="form-group" >

                            

                            <label> Default Paid Date (Voucher) </label>

                               <select name="default_pay_date"  id="default_pay_date" class="form-control" >

              

                                   <option <?php if($brid[0]['default_pay_date']==0){echo "selected";} ?> value="0">Current Date</option>

                                   <option <?php if($brid[0]['default_pay_date']==-1){echo "selected";} ?> value="-1">1 Day Previous</option>

                                   <option <?php if($brid[0]['default_pay_date']==1){echo "selected";} ?> value="1">1 Day Advance</option>

    

                          </select>

                        </div>

                    </div>



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

                          <div class="form-group" >

                            

                            <label>   Change Title (Misc.)</label>

                              <input type="text" class="form-control"  value="<?php echo $brid[0]['misc_title']; ?>"  name="misc_title"   />



                          </div>

                      </div>

                    



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

                          <div class="form-group" >

                            

                            <label> Fine Type </label>

                               <select name="fine_type"  id="fine_type" class="form-control" >

              

                                   <option <?php if($brid[0]['fine_type']==1){echo "selected";} ?> value="1">Per Day</option>

                                   <option <?php if($brid[0]['fine_type']==0){echo "selected";} ?> value="0">Fix</option>

                                   

    

                          </select>

                        </div>

                    </div>



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

                          <div class="form-group" >

                            

                            <label> Paid By </label>

                               <select name="PiadBy" id="PiadBy" class="form-control" >

                            <option <?php if($brid[0]['paid_by']=='Cash'){echo "selected";} ?> value="Cash">Cash</option>



                            <option <?php if($brid[0]['paid_by']=='JazzCash'){echo "selected";} ?> value="JazzCash">JazzCash</option>



                            <option <?php if($brid[0]['paid_by']=='Easypaisa'){echo "selected";} ?> value="Easypaisa">Easypaisa</option>



                            <option <?php if($brid[0]['paid_by']=='BankAccount'){echo "selected";} ?> value="BankAccount">Bank Account</option>

                            

                            <option <?php if($brid[0]['paid_by']=='UblOmni'){echo "selected";} ?> value="UblOmni">Ubl Omni</option>             



                            </select>

                        </div>

                    </div>



<?php 



 $m->where("branch_id", $_SESSION['branch']);

$result = $m->get('edu_branch_bank_details');



?>



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

                          <div class="form-group" >

                            

                            <label>Fine Amount</label>

                              <input type="text" class="form-control"  value="<?php echo $brid[0]['late_fee_fine']+0; ?>"  name="late_fee_fine"   />



                          </div>

                      </div>



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

<div class="form-group" >



<label> Editable Paid Date </label>

<select name="editable_paid_date"  id="editable_paid_date" class="form-control" >



<option <?php if($brid[0]['editable_paid_date']==1){echo "selected";} ?> value="1">YES</option>

<option <?php if($brid[0]['editable_paid_date']==0){echo "selected";} ?> value="0">NO</option>





</select>

</div>

</div> 



<!-- <div class="col-md-3 col-xs-12" >

<div class="form-group" >



<label> Hide Fee History In Voucher </label>

<select name="hide_fee_history"  id="hide_fee_history" class="form-control" >



<option <?php if($brid[0]['hide_fee_history']==1){echo "selected";} ?> value="1">YES</option>

<option <?php if($brid[0]['hide_fee_history']==0){echo "selected";} ?> value="0">NO</option>





</select>

</div>

</div>  -->  


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

<div class="form-group" >



<label> Edit Due Date After 10th? </label>

<select name="edit_due_date"  id="edit_due_date" class="form-control" >



<option <?php if($brid[0]['edit_due_date']==1){echo "selected";} ?> value="1">YES</option>

<option <?php if($brid[0]['edit_due_date']==0){echo "selected";} ?> value="0">NO</option>





</select>

</div>

</div>   





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

<div class="form-group" >



<label> Display Discount Reason in Fee Vouchers </label>

<select name="display_discount_reason"  id="display_discount_reason" class="form-control" >



<option <?php if($brid[0]['display_discount_reason']==0){echo "selected";} ?> value="0">YES</option>

<option <?php if($brid[0]['display_discount_reason']==1){echo "selected";} ?> value="1">NO</option>





</select>

</div>

</div>  





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

<div class="form-group" >



<label> Display Signature In Voucher </label>

<select name="display_signature"  id="display_signature" class="form-control" >



<option <?php if($brid[0]['display_signature']==0){echo "selected";} ?> value="0">NO</option>



<option <?php if($brid[0]['display_signature']==1){echo "selected";} ?> value="1">YES</option>







</select>

</div>

</div>        



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

                          <div class="form-group" >

                            

                            <label>Account Title</label>

                              <input type="text" class="form-control"  value="<?php echo $result[0]['bank_accountitle']; ?>"  name="bank_accountitle"   />



                          </div>

                      </div>



      



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

                          <div class="form-group" >

                            

                            <label>Bank Name </label>

                              <input type="text" class="form-control"  value="<?php echo $result[0]['bank_branch']; ?>"  name="bank_branch"   />



                          </div>

                      </div>





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

                      <div class="form-group" >

                        

                        <label>Account No</label>

                          <input type="text" class="form-control"  value="<?php echo $result[0]['bank_accountno']; ?>"  name="bank_accountno"   />



                      </div>

                  </div>





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

                          <div class="form-group" >

                            

                            <label>Eassy Paisa Account Title</label>

                              <input type="text" class="form-control"  value="<?php echo $brid[0]['easypaisa_account_title']; ?>"  name="easypaisa_account_title"   />



                          </div>

                      </div>    



                





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

                      <div class="form-group" >

                        

                        <label>Eassy Paisa Account No</label>

                          <input type="text" class="form-control"  value="<?php echo $brid[0]['easypaisa_account_no']; ?>"  name="easypaisa_account_no"   />



                      </div>

                  </div>





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

                          <div class="form-group" >

                            

                            <label>Jazz Cash Account Title</label>

                              <input type="text" class="form-control"  value="<?php echo $brid[0]['jazzcash_account_title']; ?>"  name="jazzcash_account_title"   />



                          </div>

                  </div>



                      

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

                      <div class="form-group" >

                        

                        <label>Jazz Cash Account No</label>

                          <input type="text" class="form-control"  value="<?php echo $brid[0]['jazzcash_account_no']; ?>"  name="jazzcash_account_no"   />



                      </div>

                  </div>





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

                      <div class="form-group" >

                        

                        <label>RAAST ID</label>

                          <input type="text" class="form-control"  value="<?php echo $brid[0]['raast_id']; ?>"  name="raast_id"   />



                      </div>

                  </div>



                <!--   <div class="col-md-4 col-xs-12" >

                      <div class="form-group" >

                        

                        <label>Voucher Validity Date</label>

                          <input type="date" class="form-control"  value="<?php echo $brid[0]['voucher_validity']; ?>"  name="voucher_validity"   />



                      </div>

                  </div> -->





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

                  <div class="form-group" >



                  <label> Display Standard Fee In Voucher </label>

                  <select name="display_standard_fee"  id="display_standard_fee" class="form-control" >



                  <option <?php if($brid[0]['display_standard_fee']==0){echo "selected";} ?> value="0">NO</option>



                  <option <?php if($brid[0]['display_standard_fee']==1){echo "selected";} ?> value="1">YES</option>







                  </select>

                  </div>

                  </div>





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

               <div class="form-group">

                              

                    <label>Voucher Instructions</label>

                      <textarea id="textarea" name="fee_vouc_note" class="ckeditor"><?php echo $brid[0]['fee_vouc_note']; ?></textarea>



                      <!-- <textarea class="form-control message1 form-textarea styletext"  rows="7" id="textarea" name="fee_vouc_note"  dir="rtl"><?php echo $brid[0]['fee_vouc_note'];?></textarea> -->



                  </div>

              </div>





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

               <div class="form-group">

                              

                    <label>Roll No Slip Instructions</label>

                      <textarea name="rollNo_slip_note" rows="3" class="form-control"><?php echo $brid[0]['rollNo_slip_note']; ?></textarea>



                  </div>

              </div>





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

               <div class="form-group">

                              

                    <label>Datesheet Instructions</label>

                      <textarea name="datesheet_instructions" rows="3" class="form-control"><?php echo $brid[0]['datesheet_instructions']; ?></textarea>



                  </div>

              </div> -->



                     

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

            <div class="form-group"  >

              <input type="submit" value="Update Details " class="form-control btn btn-primary" class="pull-right btn btn-primary"  >

            </div>

        </div>





   </form>





                      </div>  <!--   ending step 1 -->















                  </div>

                </div>

              </div>

            </div>

          </div>

        </div>

        <!-- /page content -->



    <!-- jQuery -->

    <script src="js/ajax_functions.js"></script>  





    <?php include('RootMe/js_linksscript.php');?>



    <script src="https://cdn.ckeditor.com/4.12.1/standard/ckeditor.js"></script>

   



  </body>

</html>



