115 lines
4.2 KiB
PHP
115 lines
4.2 KiB
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Donation Receipt</title>
|
|
<style>
|
|
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.container {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
border: 3px solid #ccc;
|
|
border-radius: 5px;
|
|
}
|
|
.header {
|
|
font-size: x-large;
|
|
}
|
|
.logo {
|
|
max-width: 70px;
|
|
}
|
|
.company-details {
|
|
margin-bottom: 20px;
|
|
max-width: 150px;
|
|
}
|
|
.heading {
|
|
text-align: center;
|
|
margin-top: -32px;
|
|
}
|
|
/* .text, .heading {
|
|
margin-bottom: 30px;
|
|
} */
|
|
/* .heading p {
|
|
font-size: 20px;
|
|
} */
|
|
.body {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
.same-line {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: left;
|
|
text-align:left;
|
|
}
|
|
.same-line2 {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: left;
|
|
text-align:right;
|
|
}
|
|
.signature {
|
|
width: 150px;
|
|
}
|
|
.img{
|
|
width: 70px;
|
|
height: 70px;
|
|
margin-bottom: 25px;
|
|
}
|
|
.sub-add {
|
|
font-size: 9px;
|
|
text-align: right;
|
|
}
|
|
.underline {
|
|
text-decoration-line: underline;
|
|
text-decoration-style: solid;
|
|
}
|
|
/* .text {
|
|
padding: 20px;
|
|
} */
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<table style=" width: 100%; height: 115px;border: none;">
|
|
<tbody>
|
|
<tr style="height: 25px;">
|
|
<td style="width: 20%; height: 25px; text-align: center;border: none;"> <img src="<?= $baseurl ?>" alt="Your Organization Logo" style="width: 100%;"></td>
|
|
<td style="width: 80%; height: 20px;border: none;">
|
|
<h3 style="text-align: right;text-decoration: underline"><strong><?= $data->title ?></strong></h3>
|
|
<p class="sub-add" style="padding-left: 80px; text-align: right;"><?= $data->org_address ?>, <?= $data->org_city ?>,<?= $data->org_state ?> ,<?= $data->org_zip ?>.<br>
|
|
MobileNo: <?= $data->org_mobile ?>, Email: <?= $data->org_email ?>,<br>
|
|
PAN No: <?= $data->org_pan ?>, Register No:<?= $data->org_reg_no ?></p>
|
|
</td>
|
|
</tr>
|
|
<tr style="height: 18px;">
|
|
<td style="width: 100%; height: 18px;border: none;border-top: 1px solid #ccc;" colspan="2">
|
|
<h4 style="text-align: center;"><strong><?=$data->receipt_header?></strong></h4>
|
|
</td>
|
|
</tr>
|
|
<tr style="height: 18px;">
|
|
<td style="width: 30.5118%; height: 18px; text-align: left;border: none;"><strong>Receipt:</strong> <?=$data->receipt_number?></td>
|
|
<td style="width: 69.4882%; height: 18px; text-align: right;border: none;"><strong>Date:</strong> <?=date("d-m-Y", strtotime($data->receipt_date));?></td>
|
|
</tr>
|
|
<tr style="height: 18px;">
|
|
<td style="width: 100%; height: 18px; text-align: justify;border: none;padding:30px;" colspan="2"><p>Received with thanks from <b><?= $data->customer_name ?></b> <?php if($data->cust_pan_no) { echo ', PAN <b>'.$data->cust_pan_no.'</b>'; } ?>, a sum of <b><?= $currency ?> <?= $currency_in_words ?></b> (<?= $currency ?>.<?= $data->amount ?>), towards <b><?= $data->cause_name ?></b>.</td>
|
|
</tr>
|
|
<tr style="height: 18px;">
|
|
<td style="width: 30.5118%; height: 18px;border: none;"><strong>Collected by:</strong> <?= $staff_name ?></td>
|
|
<td style="width: 69.4882%; height: 18px;text-align: right;border: none;"><img src="<?= base_url()."public/uploads/".$signature ?>" width="100px" alt="Signature"></td>
|
|
<tr>
|
|
</tr><td style="width: 30.5118%; height: 18px;"></td></tr>
|
|
<tr style="height: 18px;">
|
|
<td style="width: 100%; height: 18px; text-align: center;border: none;padding:30px 0px 0px 0px;font-size: 9px;border-top: 1px solid #ccc;" colspan="2"><strong>Note:</strong> <?= $Notes ?></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</body>
|
|
</html>
|