<?php $__env->startSection('content'); ?>
<div class="row">
	<div class="col-12">
	<div class="card panel-default">
	<span class="d-none panel-title"><?php echo e(_lang('Sale Transcation')); ?> </span>
		 <?php /*<span class="panel-title">{{ $contact->contact_name }} ({{$contact->company_name }} )</span> */?>  

	<div class="card-body">
	    <h4>Company Name : <?php echo e($contact->company_name); ?> </h4><br>
		<form method="post" class="validate" autocomplete="off" action="<?php echo e(url('sale/sale_transcation_store/'.$id)); ?>" enctype="multipart/form-data">
			<div class="row">
		 
					<?php echo e(csrf_field()); ?>

					
					
				<!--	<div class="col-md-6">
					  	<div class="form-group">
							<label class="control-label"><?php echo e(_lang('Service Name')); ?></label>						
					    <input type="text" class="form-control" name="service_name" value="<?php echo e(old('service_name')); ?>" required> 
					  	</div>
					</div>-->
					
				

					<!--<div class="col-md-12">-->
					<!--  <div class="form-group">-->
					<!--	<label class="control-label"><?php echo e(_lang('Email')); ?></label>						-->
					<!--	<input type="email" class="form-control" name="email" value="<?php echo e(old('email')); ?>" required>-->
					<!--  </div>-->
					<!--</div>-->
						<div class="col-md-6">
				  <div class="form-group">
					<a href="<?php echo e(route('contact_groups.create')); ?>" data-reload="false" data-title="<?php echo e(_lang('Add Contact Group')); ?>" class="ajax-modal-2 select2-add"><i class="ti-plus"></i> <?php echo e(_lang('Add New')); ?></a>
					<label class="control-label"><?php echo e(_lang('Type')); ?></label>						
					<select class="form-control select2-ajax" data-value="id" data-display="name" data-table="contact_groups" data-where="1" name="group_id" required>
						<option value=""><?php echo e(_lang('- Select Type -')); ?></option>
					</select>
				 </div>
				</div>
				
					<div class="col-md-6">
				  <div class="form-group">
					<label class="control-label"><?php echo e(_lang('Subscription frequescy')); ?></label>						
					<select class="form-control select2" name="subscription_type" required>
						<option value="Yearly"><?php echo e(_lang('Yearly')); ?></option>
						<option value="Half Yearly"><?php echo e(_lang('Half Yearly')); ?></option>
							<option value="Half Yearly"><?php echo e(_lang('Half Yearly')); ?></option>
							<option value="Quarterly"><?php echo e(_lang('Quarterly')); ?></option>
								<option value="monthly"><?php echo e(_lang('monthly')); ?></option>
								<option value="2 Yearly"><?php echo e(_lang('2 Yearly')); ?></option>
								<option value="3 Yearly"><?php echo e(_lang('3 Yearly')); ?></option>
					</select>
				  </div>
				</div>
				
					<div class="col-md-6">
				  <div class="form-group">
					<label class="control-label"><?php echo e(_lang('Amount')); ?></label>						
					<input type="number" min="0" step="any" class="form-control" name="amount" required>
				  </div>
				</div>
					<div class="col-md-6">
					  	<div class="form-group">
							<label class="control-label"><?php echo e(_lang('Payment Mode')); ?></label>						
							<select class="form-control" name="payment_mode" id="paymentmode" required>
							<option value="">Select Payment Mode</option>
							<option value="Credit Card">Credit Card</option>
							<option value="Cheque Payee">Cheque</option>
							</select>
					  	</div>
					</div>
				
	
				
									
					<div class="col-md-6 d-none">
					  <div class="form-group">
						<label class="control-label"><?php echo e(_lang('Payment status')); ?></label>						
						<select class="form-control" data-selected="<?php echo e(old('dr_cr')); ?>" id="dr_cr" name="dr_cr" required>
						 <!-- <option value="Debit">Debit </option>-->
						  <option value="Credit" selected>Credit </option>
						 <!-- <option value="Refund">Refund </option>
						   <option value="Partial">Partial </option>
						    <option value="Full amount">Full amount </option>
						     <option value="Dispute amount">Dispute amount</option>-->
						</select>
					  </div>
					</div>	
					
					
					
					
					<div class="col-md-6">
					  	<div class="form-group">
							<label class="control-label"><?php echo e(_lang('Payment Date')); ?></label>						
					    <input type="datetime-local" class="form-control" name="payment_date" value="<?php echo e(old('payment_date')); ?>" required> 
					  	</div>
					</div>
					
					
					
					<div class="col-md-6">
					  	<div class="form-group">
							<label class="control-label"><?php echo e(_lang('Payment Id')); ?></label>						
					    <input type="text" class="form-control" name="payment_id" value="<?php echo e(old('payment_id')); ?>" > 
					  	</div>
					</div>	
					
					
				  <div class="col-md-12">
					  	<div class="form-group">
							<label class="control-label"><?php echo e(_lang('Notes')); ?></label>						
					    <textarea class="form-control" name="notes" > </textarea>
					  	</div>
					</div>	
					
					
					
						<div class="col-md-6" style="display:none" id="payee_name">
					  	   <div class="form-group">
							<label class="control-label"><?php echo e(_lang('name on the card/cheque')); ?></label>						
					      <input type="text" class="form-control" name="payee_name" value="<?php echo e(old('payee_name')); ?>"> 
					  	</div>
					</div>	
			<!-- card details -->
							<div class="col-md-6" style="display:none" id="card_number">
					  	   <div class="form-group">
							<label class="control-label"><?php echo e(_lang('Card Number')); ?></label>						
					      <input type="text" class="form-control"  name="card_number" value="<?php echo e(old('card_number')); ?>">
					  	</div>
					</div>	
					
						<div class="col-md-6" style="display:none" id="expiry_month">
					  	   <div class="form-group">
							<label class="control-label"><?php echo e(_lang('Expiry Month')); ?></label>						
					      <input type="text" class="form-control" name="expiry_month" value="<?php echo e(old('expiry_month')); ?>"> 
					  	</div>
					</div>	
						<div class="col-md-6" style="display:none" id="expiry_year">
					  	   <div class="form-group">
							<label class="control-label"><?php echo e(_lang('Expiry Year')); ?></label>						
					      <input type="text" class="form-control" name="expiry_year" value="<?php echo e(old('expiry_year')); ?>"> 
					  	</div>
					</div>	
				 
					<div class="col-md-6" style="display:none" id="cvv">
					  	   <div class="form-group">
							<label class="control-label"><?php echo e(_lang('CVV Number')); ?></label>						
					      <input type="text" class="form-control" name="cvv" value="<?php echo e(old('cvv')); ?>"> 
					  	</div>
					</div>	
			 		
			 		<!-- UPI input -->
			 		
					<!--	<div class="col-md-6" style="display:none" id="aph">
					  	   <div class="form-group">
							<label class="control-label"><?php echo e(_lang('APH No.')); ?></label>						
					      <input type="text" class="form-control" name="apbh" value="<?php echo e(old('aph')); ?>"> 
					  	</div>
					</div>-->	
					<!-- check input -->
						<div class="col-md-6" style="display:none" id="check_no">
					  	   <div class="form-group">
							<label class="control-label"><?php echo e(_lang('Check Number')); ?></label>						
					      <input type="text" class="form-control" name="check_no" value="<?php echo e(old('check_no')); ?>"> 
					  	</div>
					</div>
					<!--	<div class="col-md-6" style="display:none" id="check_date">
					  	   <div class="form-group">
							<label class="control-label"><?php echo e(_lang('Check Date')); ?></label>						
					      <input type="text" class="form-control" name="check_date" value="<?php echo e(old('check_date')); ?>"> 
					  	</div>
					</div>-->
					<!-- Account input -->
					

						<div class="col-md-6" style="display:none" id="route_name">
					  	   <div class="form-group">
							<label class="control-label"><?php echo e(_lang('Routing Name')); ?></label>						
					      <input type="text" class="form-control" name="route_name" value="<?php echo e(old('route_name')); ?>"> 
					  	</div>
					</div>
					
						<div class="col-md-6" style="display:none" id="bank_name">
					  	   <div class="form-group">
							<label class="control-label"><?php echo e(_lang('Bank Name')); ?></label>						
					      <input type="text" class="form-control" name="bank_name" value="<?php echo e(old('bank_name')); ?>"> 
					  	</div>
					</div>

						<div class="col-md-6" style="display:none" id="account_number">
					  	   <div class="form-group">
							<label class="control-label"><?php echo e(_lang('Account Number')); ?></label>						
					      <input type="text" class="form-control" name="account_number" value="<?php echo e(old('account_number')); ?>"> 
					  	</div>
					</div>
					
					<div class="form-group">
					  <div class="col-md-12">
						<button type="submit" class="btn btn-primary"><?php echo e(_lang('Save')); ?></button>
					  </div>
					</div>
					
				</div>
	 	
		</form>
	  
	</div>
  </div>
 </div>
</div>


<style>
    .tbl-dt{ font-size: 15px; line-height: 32px; color: #444; margin-bottom: 0; BORDER: 1px solid;  padding: 5px;}
</style>


<!-- Data list show-->

<div class="card mt-2">
			<span class="panel-title d-none"><?php echo e(_lang('List Contact')); ?></span>
			<div class="card-body">
			<table id="contacts-table" class="table table-bordered">
			<thead>
			  <tr>
				<th><?php echo e(_lang('Type')); ?></th>
					<th><?php echo e(_lang('Subscription frequescy')); ?></th>
					<th><?php echo e(_lang('Amount')); ?></th>
				<th><?php echo e(_lang('Payment Mode')); ?></th>
				<th><?php echo e(_lang('Payment status')); ?></th>
				<th><?php echo e(_lang('Payment Date')); ?></th>
				<th><?php echo e(_lang('Status')); ?></th>
				<th class="text-center"><?php echo e(_lang('Action')); ?></th>
				
			  </tr>
			</thead>
			<tbody>
			    
			    
			    <?php $__currentLoopData = $datas; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key=>$data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 
			    
			    <?php
			      $ccNum          = $data->card_number??0;
   // function getTruncatedCCNumber($ccNum){
       // $last4Digits    = preg_replace( "#(.*?)(\d{4})$# ", "$2", $ccNum);
       // $firstDigits    = preg_replace( "#(.*?)(\d{4})$# ", "$1", $ccNum);
      ////  $firstDigits1    = preg_replace( "#(.*?)(\d{15})$# ", "$1", $ccNum);
    // $fvcard1=  preg_replace("#(\d)# ", "*", $firstDigits) . $last4Digits;
   //  $fvcard=$firstDigits1.$fvcard1;
    //}
						$last4= substr(str_replace(['-',' '],'',$ccNum), -4);
						$fvcard1= str_pad($last4, 16, '*', STR_PAD_LEFT);
						$first_digit=substr($ccNum, 0, 1);
    
      if(Auth::user()->role_id!=0){
     $fvcard=$first_digit.$fvcard1;
     }else{
         if(Auth::user()->card_show==1){
            $fvcard=$first_digit.$fvcard1;
         }else{
        $fvcard= $ccNum;
         }
     }
//$fvcard=   getTruncatedCCNumber($ccNum);
			    ?>
			    <tr>
			    <td><?php echo e($data->group->name??''); ?></td>
			     <td><?php echo e($data->subscription_type); ?></td>
					<?php if(($data->refund_type == 'Full amount' or $data->refund_type == 'Partial' or $data->refund_type == 'Dispute') && ($data->parent_id!=0 or $data->refundable_amount>0)): ?>
			    <td><?php echo e($data->refundable_amount); ?></td>
					<?php else: ?>
						<td><?php echo e($data->amount); ?></td>
					<?php endif; ?>
			    <td><?php echo e($data->payment_mode); ?></td>
					<?php if(($data->refund_type == 'Full amount' or $data->refund_type == 'Partial' or $data->refund_type == 'Dispute') && ($data->parent_id!=0 or $data->refundable_amount>0)): ?>
			    <td><?php echo e($data->refund_type); ?></td>
					<?php else: ?>
						<td><?php echo e($data->dr_cr); ?></td>
					<?php endif; ?>
			    <td><?php echo e($data->payment_date); ?></td>
			   <?php if(empty($data->refund_type)): ?>
			    <td>Credit</td>
			    <?php else: ?>
			     <td><?php echo e($data->refund_type??'NA'); ?> Refund</td>
			    <?php endif; ?>
			   <td><button type="button" class="btn btn-default" data-toggle="modal" data-target="#modal-default<?php echo e($key); ?>">
View All Details
</button>
<!--<button type="button" class="btn btn-info" onclick="window.location.href='refund-payment'">-->
<!--    Refund-->
<!--</button>-->
<?php if(empty($data->refund_type)): ?>
					   <a href="<?php echo e(url('sale/sale_transaction-edit/'.$data->id)); ?>" class="btn btn-primary">Edit</a>
<a href="<?php echo e(url('sale/refund-payment/'.$data->id)); ?>" class="btn btn-info">Refund</a>

 <form method="POST" action="<?php echo e(url('sale/refund-payment/dispute/'.$data->id)); ?>" style="display: inline;">
    <?php echo csrf_field(); ?>
    <button type="submit" class="btn btn-warning" onclick="return confirm('Do you want to dispute or not?')">Dispute</button>
</form>

					   <form method="POST" action="<?php echo e(url('sale/sale_transaction-delete/'.$data->id)); ?>" style="display: inline;">
						   <?php echo csrf_field(); ?>
						   <button type="submit" class="btn btn-danger" onclick="return confirm('Do you want to Delete or not?')">Delete</button>
					   </form>



<?php endif; ?>

</td></tr>
			   

<div class="modal fade" id="modal-default<?php echo e($key); ?>">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Details</h4>
<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">
    <p class="tbl-dt"><b>Type:-</b> <?php echo e($data->group->name??''); ?></p>
<p class="tbl-dt"><b>Amount:-</b> <?php echo e($data->amount); ?></p>
<p class="tbl-dt"><b>Payment Id:-</b> <?php echo e($data->payment_id); ?></p>
<p class="tbl-dt"><b>Payment Mode:-</b> <?php echo e($data->payment_mode); ?></p>
<p class="tbl-dt"><b>Payment frequescy:-</b> <?php echo e($data->subscription_type); ?></p>
<p class="tbl-dt"><b>Account Number:-</b> <?php echo e($data->account_number??'NA'); ?></p>
<p class="tbl-dt"><b>Routing No:-</b> <?php echo e($data->route_name??'NA'); ?></p>
<p class="tbl-dt"><b>Bank Name:-</b> <?php echo e($data->bank_name??'NA'); ?></p>
<p class="tbl-dt"><b>Card Number:-</b> <?php echo e($fvcard??'NA'); ?></p>
</div>


<div class="col-md-6">
<p class="tbl-dt"><b>Payment Date:-</b> <?php echo e($data->payment_date); ?></p>
<p class="tbl-dt"><b>Type:-</b> <?php echo e($data->dr_cr); ?></p>
<p class="tbl-dt"><b>Payee Name:-</b> <?php echo e($data->payee_name); ?></p>
<p class="tbl-dt"><b>Expiry Month:-</b> <?php echo e($data->expiry_month??'NA'); ?></p>

<p class="tbl-dt"><b>Expiry Year:-</b> <?php echo e($data->expiry_year??'NA'); ?></p>
<p class="tbl-dt"><b>Cvv:-</b> <?php echo e($data->cvv??'NA'); ?></p>
<p class="tbl-dt"><b>Cheque no:-</b> <?php echo e($data->check_no??'NA'); ?></p>
<p class="tbl-dt"><b>Cheque Date:-</b>  <?php echo e($data->check_date??'NA'); ?></p>

<?php if($data->refund_type=='Full amount' || $data->refund_type=='Partial'): ?>

<p class="tbl-dt"><b>Refund Amount:-</b> <?php echo e($data->refundable_amount); ?></p>
<?php endif; ?>

 

<?php if($data->refund_type=='Dispute'): ?>

<p class="tbl-dt"><b>Dispute Amount:-</b> <?php echo e($data->amount); ?></p>
<?php endif; ?>



<?php if($data->refund_payment_id): ?>

<p class="tbl-dt"><b>Refund payment Id :-</b> <?php echo e($data->refund_payment_id); ?></p>
<?php endif; ?>

</div>


</div>

</div>
<div class="modal-footer justify-content-between d-none">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>

</div>

</div>   
			   
			   
			   
			   
			   
			   
			   
			   
			   
			   
			   
			   
			   
			   
			   
			   
			    
			  <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
			</tbody>
		  </table>
			</div>
		</div>



<?php $__env->stopSection(); ?>

<?php $__env->startSection('js-script'); ?>

<script src="https://crm.digitalhubsolution.com/backend/assets/js/vendor/jquery-2.2.4.min.js"></script>

<script>
(function($) {
	"use strict";

	document.title = $(".panel-title").html();
	$("#trans_type").val("<?php echo e(isset($dr_cr) ? $dr_cr : 'all'); ?>");
	
})(jQuery);
</script>

<script type="text/javascript">
// $('#mySelect').bind('onchange',function(){
//     alert("test");
// if (this.value==='Credit Card')
// {
//     alert("cc");
// //this.myform['other'].style.visibility='visible'
// document.getElementById("element").style.display = "none";
// }
// else {
// this.myform['other'].style.visibility='hidden'};
// }


$(document).ready(function () {
        $('#paymentmode').change(function () {
         
            if ($('#paymentmode').val() == 'Credit Card') {
        
                document.getElementById("payee_name").style.display = "block";
                document.getElementById("card_number").style.display = "block";
                document.getElementById("expiry_month").style.display = "block";
                document.getElementById("expiry_year").style.display = "block";
                document.getElementById("cvv").style.display = "block";
                document.getElementById("bank_name").style.display = "block";

                 document.getElementById("account_number").style.display = "none";
              document.getElementById("route_name").style.display = "none";
               document.getElementById("check_no").style.display = "none"; 

               /* document.getElementsByName("payee_name")[0].setAttribute('required', '');
                document.getElementsByName("card_number")[0].setAttribute('required', '');
                document.getElementsByName("expiry_month")[0].setAttribute('required', '');
                document.getElementsByName("expiry_year")[0].setAttribute('required', '');
                document.getElementsByName("cvv")[0].setAttribute('required', '');

                document.getElementsByName("account_number")[0].setAttribute('', '');
                document.getElementsByName("route_name")[0].setAttribute('', '');
                document.getElementsByName("check_no")[0].setAttribute('', '');
*/
                          
                
             //   $('#other').show();
            }else if($('#paymentmode').val() == 'Debit Card'){
                   document.getElementById("payee_name").style.display = "block";
                document.getElementById("card_number").style.display = "block";
                document.getElementById("expiry_month").style.display = "block";
                document.getElementById("expiry_year").style.display = "block";
                document.getElementById("cvv").style.display = "block";
                
                document.getElementById("upi_id").style.display = "none";
                 document.getElementById("account_number").style.display = "none";
              document.getElementById("ifsc_code").style.display = "none";
              document.getElementById("bank_name").style.display = "none";
               document.getElementById("check_no").style.display = "none"; 
                       document.getElementById("check_date").style.display = "none"; 
                       
                       
            //   style     
              /*  document.getElementsByName("payee_name")[0].setAttribute('required', '');
                document.getElementsByName("card_number")[0].setAttribute('required', '');
                document.getElementsByName("expiry_month")[0].setAttribute('required', '');
                document.getElementsByName("expiry_year")[0].setAttribute('required', '');

                document.getElementsByName("cvv")[0].setAttribute('required', '');
                document.getElementsByName("upi_id")[0].setAttribute('', '');
                document.getElementsByName("account_number")[0].setAttribute('', '');
                document.getElementsByName("ifsc_code")[0].setAttribute('', '');
                document.getElementsByName("check_no")[0].setAttribute('', '');
                document.getElementsByName("check_date")[0].setAttribute('', ''); */
                       
                       
                       
            }else if($('#paymentmode').val() == 'UPI'){
                   document.getElementById("payee_name").style.display = "block";
                      document.getElementById("upi_id").style.display = "block";
                      
                     
                document.getElementById("card_number").style.display = "none";
                document.getElementById("expiry_month").style.display = "none";
                document.getElementById("expiry_year").style.display = "none";
                document.getElementById("cvv").style.display = "none";
                 document.getElementById("account_number").style.display = "none";
              document.getElementById("ifsc_code").style.display = "none";
              document.getElementById("bank_name").style.display = "none";
              document.getElementById("check_no").style.display = "none"; 
                       document.getElementById("check_date").style.display = "none"; 
                       
            //  style
            /*
                    document.getElementsByName("payee_name")[0].setAttribute('required', '');
                    document.getElementsByName("upi_id")[0].setAttribute('required', '');
                document.getElementsByName("card_number")[0].setAttribute('', '');
                document.getElementsByName("expiry_month")[0].setAttribute('', '');
                document.getElementsByName("expiry_year")[0].setAttribute('', '');
                document.getElementsByName("cvv")[0].setAttribute('', '');
                
                document.getElementsByName("account_number")[0].setAttribute('', '');
                document.getElementsByName("ifsc_code")[0].setAttribute('', '');
                document.getElementsByName("check_no")[0].setAttribute('', '');
                document.getElementsByName("check_date")[0].setAttribute('', '');
                       */
                       
                       
            }else if($('#paymentmode').val() == 'Cheque Payee'){
               document.getElementById("payee_name").style.display = "block";
                             document.getElementById("route_name").style.display = "block";
                      document.getElementById("check_no").style.display = "block"; 
                        document.getElementById("account_number").style.display = "block";
                  document.getElementById("bank_name").style.display = "block";
                        document.getElementById("card_number").style.display = "none";
                document.getElementById("expiry_month").style.display = "none";
                document.getElementById("expiry_year").style.display = "none";
                document.getElementById("cvv").style.display = "none";
                
               
               
                          //  style
            /*
                    document.getElementsByName("payee_name")[0].setAttribute('required', '');
                                   document.getElementsByName("check_no")[0].setAttribute('required', '');
                                     document.getElementsByName("account_number")[0].setAttribute('required', '');
                document.getElementsByName("route_name")[0].setAttribute('required', '');
                document.getElementsByName("card_number")[0].setAttribute('', '');
                document.getElementsByName("expiry_month")[0].setAttribute('', '');
                document.getElementsByName("expiry_year")[0].setAttribute('', '');
                document.getElementsByName("cvv")[0].setAttribute('', '');
                */
              

               
               
               
               
            }else if($('#paymentmode').val() == 'Account Payee'){
              document.getElementById("payee_name").style.display = "block";
              document.getElementById("account_number").style.display = "block";
              document.getElementById("ifsc_code").style.display = "block";
              document.getElementById("bank_name").style.display = "block";
              
               document.getElementById("card_number").style.display = "none";
                document.getElementById("expiry_month").style.display = "none";
                document.getElementById("expiry_year").style.display = "none";
                document.getElementById("cvv").style.display = "none";
                  document.getElementById("upi_id").style.display = "none";
                      document.getElementById("check_no").style.display = "none"; 
                       document.getElementById("check_date").style.display = "none"; 
                       
                       
                       
                       
                                           //  style
            
               /*  document.getElementsByName("payee_name")[0].setAttribute('required', '');
                document.getElementsByName("account_number")[0].setAttribute('required', '');
                document.getElementsByName("ifsc_code")[0].setAttribute('required', '');

                    document.getElementsByName("upi_id")[0].setAttribute('', '');
                document.getElementsByName("card_number")[0].setAttribute('', '');
                document.getElementsByName("expiry_month")[0].setAttribute('', '');
                document.getElementsByName("expiry_year")[0].setAttribute('', '');
                document.getElementsByName("cvv")[0].setAttribute('', '');
        
                document.getElementsByName("check_no")[0].setAttribute('', '');
                document.getElementsByName("check_date")[0].setAttribute('', '');       
                       */
                       
                       
                       
                       
            }
            else {
             //   $('#other').hide();
            }
        });
    });



//btn alert

 function confirmation() {
swal({
  title: "Are you sure?",
  text: "Once deleted, you will not be able to recover this imaginary file!",
  icon: "warning",
  buttons: true,
  dangerMode: true,
})
.then((willDelete) => {
  if (willDelete) {
    swal("Poof! Your imaginary file has been deleted!", {
      icon: "success",
    });
  } else {
    swal("Your imaginary file is safe!");
  }
});
}

</script>






<?php $__env->stopSection(); ?>



<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\Xampp8.0\htdocs\laravel\crmdehradun\resources\views/backend/accounting/sale_transcation/subscription_payment.blade.php ENDPATH**/ ?>