File: /home/thehunarfound/public_html/DMSold/resources/views/receipts/logo.blade.php_blk
@extends('layouts.app')
@section('content')
<style type="text/css">
.rpt-details{
float: left;
margin-top: 0px;
width: 100%
}
.rpt-details p{
float: left;
width: 20%;
margin-right: 4%;
margin-bottom: 3px;
}
.rpt-details span{
float: left;
width: 45%;
color: #034ea2;
font-weight: bold;
}
.toptxt2 {
margin-bottom: 21px;
}
.toptxt2 h1{
color: #034ea2;
font-weight: 700;
}
.toptxt2 b{
color: #000;
}
.x_panel hr{
border-top: 1px solid #ddd !important;
}
.p13
{
font-size: 13px;
}
@media print {
header[role="banner"], .nav_menu, footer, .title-bar, .print-btn, .file-upload-label, .site-footer, .w3-button {
display: none;
}
.pull-right{
float: right;
}
.toptxt2 h1{
color: #034ea2 !important;
font-weight: 700;
font-size: 24px !important;
}
}
</style>
<!-- title bar -->
<div class="title-bar">
<i class="fa fa-credit-card title-icon"></i>
<h1>Contribution Receipt</h1>
</div>
<br><br>
<!-- content -->
<div class="container">
<div class="col-xs-12">
<button class="btn btn-default print-btn pull-right" onclick="window.print();"><i class="fa fa-print"></i> Print
</button>
<!-- Receipt Acknowledge -->
<section>
<div class="panel-group">
<div class="x_panel">
<!-- header -->
<div class="row">
<div class="col-xs-2 " style="visibility: hidden;">
<p>test</p>
</div>
<div class="col-xs-8 toptxt2">
<div class="text-center" >
<h1>THE HUNAR FOUNDATION</h1>
<b>SNPA-7A, Block 3, Dehli Mercantile Co-operative Housing Society, Karachi – 74800
UAN: 111-843-000
<br>
www.hunarfoundation.org
</b>
</div>
</div>
<div class="col-xs-2 pull-right text-right">
<img src="{{ URL::asset('images/logo.png') }}" style="width: 70px">
</div>
<div class="clearfix"></div>
</div>
<div class="x_content">
<!-- top -->
<section class="content invoice">
<!-- title row -->
<div class="row">
<div class="col-xs-6">
@if($rptDetails->title == "" || $rptDetails->title == null)
<b>{{$rptDetails->first_name}} </b> <br>
@else
<b>{{$rptDetails->title}}. {{$rptDetails->first_name}} {{$rptDetails->last_name}} </b><br>
@endif
@if ($rptDetails->address != "" || $rptDetails->address != null)
<b> {{$rptDetails->address}},</b> <br>
@endif
@if($rptDetails->city != "" || $rptDetails->city != null)
<b> {{$rptDetails->city}}.</b>
@endif
</div>
<div class="col-xs-4 pull-right text-right">
@if($rptDetails->donation_date != "" || $rptDetails->donation_date != null)
<p>Date: <b>{{date('d M,Y', strtotime($rptDetails->donation_date))}}</b> </p>
@endif
<p>Donor ID: <b>{{$rptDetails->id}}</b></p>
</div>
<!-- /.col -->
</div>
<br>
<div class="row">
<div class="col-sm-12">
@if($rptDetails->donor_type == "Individual")
<p class="p13">Dear <b>{{$rptDetails->first_name}},</b><br>
@else
<p class="p13"> <b>{{$rptDetails->first_name}},</b><br>
@endif
The Hunar Foundation acknowledges your contribution of
@if($rptDetails->currency == 'Rs')
<b>{{$rptDetails->currency}}. {{$formattedNum}}/-</b>
@else
<b>{{$rptDetails->currency}}{{$formattedNum}}/-</b>
@endif
on Account of
@if($rptDetails->project == "" || $rptDetails->project == null)
<b>{{$category_name}}. </b>
@else
<b> {{$category_name}} {{$project_name}}</b>. <br>
@endif
Thank you for your valuable support towards The Hunar Foundation. Your generosity is greatly appreciated. We rely on supporters such as yourself to empower the marginalized youth and promote the cause for
<b>A Skilled Pakistan.</b>
</p>
<p style="color: #ccc; ">System Generated Receipt</p>
</div>
</div>
</section>
<hr>
<!-- bottom -->
<div class="text-center">
<h3 style="font-size: 19px">Contribution Receipt</h3>
<div class="clearfix"></div>
</div>
<section class="content invoice">
<!-- title row -->
<div class="row">
<div class="col-sm-12 rcp">
<b> Name: @if($rptDetails->title == "" || $rptDetails->title == null)
{{$rptDetails->first_name}}
@else
{{$rptDetails->title}}. {{$rptDetails->first_name}} {{$rptDetails->last_name}}</b>
@endif
<br>
@if($rptDetails->address != "" || $rptDetails->address != null)
Address:<b> {{$rptDetails->address}},</b><br>
@endif
@if($rptDetails->city != "" || $rptDetails->city != null)
City: <b>{{$rptDetails->city}}</b>
<br>
@endif
<br>
<div class="rpt-details">
<p>Receipt No:</p>
<span>{{$rptDetails->receipt_no}}</span>
</div>
<div class="rpt-details" >
<p>Date:</p>
<span>{{date('d M,Y', strtotime($rptDetails->donation_date))}}</span>
</div>
<div class="rpt-details">
<p>Amount: </p>
@if($rptDetails->currency == 'Rs')
<span>{{$rptDetails->currency}}. {{$formattedNum}}/-</span>
@else
<span>{{$rptDetails->currency}}{{$formattedNum}}/-</span>
@endif
</div>
<div class="rpt-details">
<p>Amount in Words: </p>
<span style="text-transform: capitalize;">{{$convert_amount}}</span>
</div>
@if($rptDetails->cheque_num != "" || $rptDetails->cheque_num != null)
<div class="rpt-details">
<p>Chq/ Ref No:</p>
<span>{{$rptDetails->cheque_num}}</span>
</div>
@endif
@if($rptDetails->project == "" || $rptDetails->project == null)
<div class="rpt-details">
<p>On Account of:</p>
<span>{{$category_name}}</span>
</div>
@endif
@if($rptDetails->bank != "" || $rptDetails->bank != null)
<div class="rpt-details">
<p>Drawn on Bank: </p>
<span>{{$rptDetails->bank}}</span>
</div>
@endif
@if($rptDetails->allocation != "" || $rptDetails->allocation != null)
<div class="rpt-details">
<p>Allocation: </p>
<span>{{$allocation_name}}</span>
</div>
@endif
</div>
<div class="col-sm-2 pull-right text-right">
<img src="{{ URL::asset('images/logo.png') }}" style="width: 70px">
</div>
<!-- /.col -->
</div>
<br>
<div class="row">
<div class="col-md-8 col-md-push-2 prin text-center">
<p class="p13">Foundation is registered under the societies act XXI of 1860.
All donations are entitled for tax credit u/s 61 as the foundation is exempted for
tax u/s 2(36)(c) of the income Tax Ordinance 2001.
</p>
</div>
</div>
<br/>
<div class="row">
<div class="pull-left col-xs-8" style="visibility: hidden;">
<p>________________________________<br>
Principal</p>
</div>
<div class="col-xs-4 text-right">
<p class="">____________________<br>
<span style="font-size: 12px"> For The Hunar Foundation </span></p><br>
</div>
</div>
<div class="row">
<div class="col-sm-12 text-center" style="border-top: 1px solid #ddd; ">
<br>
<!-- <b>SNPA-7A, Block 3, Dehli Mercantile Co-operative Housing Society, Karachi – 74800 UAN: 111-843-000 </b> -->
</div>
</div>
</section>
</div>
</div>
</div>
</section>
</div>
</div>
</body>
</html>
@endsection