student view pdf changes done

This commit is contained in:
gandhimathi 2018-03-22 12:25:00 +05:30
parent 6ab8cf564a
commit 54e07a6f27

View File

@ -19,8 +19,8 @@
.modal-content {
background: #ffffff;
box-shadow: none;
width: 80%;
margin-left: 30%;
width: 150%;
margin-left: -20%;
margin-top: 10%;
}
@ -287,12 +287,12 @@
<span>{{fees.PaidBillAmount}}</span></td>
<td>
<span>{{fees.BalanceAmount}}</span></td>
<td ng-click="open(fees,'1')">
<td ng-click="open(fees,'1',course)">
<a tooltip="Installment Details">
<i class="fa fa-eye text-blue text-large"></i>
</a> </span>
</td>
<td ng-click="open(fees,'2')"><span>
<td ng-click="open(fees,'2',course)"><span>
<a tooltip="{{dynamicTooltip}}">
<i class="fa fa-eye text-green text-large"></i>
</a> </span>
@ -311,6 +311,7 @@
<th>Amount</th>
<th>Due Date</th>
</tr>
</thead>
<tbody ng-repeat="l in items.InstallmentDetails">
@ -334,6 +335,7 @@
<th>Bill Date</th>
<th>Receipt NO</th>
<th>Mode of Payment </th>
<th>Print</th>
</tr>
</thead>
@ -344,12 +346,83 @@
<td>{{v.BillDate}}</td>
<td>{{v.ReceiptNo}}</td>
<td>{{v.ModeOfPayment}}</td>
<td>
<a tooltip="Click to print" ng-mouseleave="mouseLeave()" pdf-save-button="{{v.BillNO}}" pdf-name="Billno-{{v.BillNO}}.pdf" class="btn"><i class="fa fa-print" ng-click="ShowHide(v)"></i></a> </td>
</tr>
</table>
<div pdf-save-content="{{billNo}}" visible='showButton'>
<table style="border-collapse: collapse; color: black;" border="0" width="100%">
<tbody>
<tr style="height: 23px;">
<td ng-if="BranchLogo=='' || BranchLogo==null" style="width: 136px; height: 82px; border-right-style: hidden; color: white; background-color: black; font-size: 22px; text-align: center;" rowspan="3">APOLLO</td>
<td ng-if="BranchLogo!='' && BranchLogo!=null" style="width: 136px; height: 82px; border-right-style: hidden; color: white; background-color: black; font-size: 22px; text-align: center;" rowspan="3">
<div class="user-image">
<img class="pull-center" ng-src="images/{{BranchLogo}}" alt="">
<!-- <img ng-src="{{userInfo.avatar}}" alt="" ng-if="!obj.flow.files.length && !noImage">
<img flow-img="obj.flow.files[0]" ng-if="obj.flow.files.length">-->
</div>
</td>
<td style="width: 136px; height: 23px; text-align: center; border-bottom-style: hidden; color: white; background-color: black; font-size: 20px;" colspan="3"><strong>APOLLO DISTANCE EDUCATION COLLEGE</strong>
</br>
<span style="font-size: 16px;">(A Group of SVE Trust)</span>
</br>
<span style="font-size: 16px;">{{BranchAddr}}</span>
</td>
</tr>
<tr>
<td style="width: 136px; height: 23px; text-align: center; border-bottom-style: hidden; color: white; background-color: black; font-size: 16px;" colspan="3"><!--(A Group of SVE Trust)--></td>
</tr>
<tr>
<td style="width: 136px; height: 36px; text-align: center; color: white; background-color: black; font-size: 15px;" colspan="3"><!--10/1, First Floor, Old Airport Road, Domlur, Bangalore - 560071. karnataka<br> Land Mark - Opp to Domlur Bus Stop Ph:&nbsp;9620214554--><!--{{BranchAddr}}--></td>
</tr>
<tr style="height: 50px;">
<td style="width: 150px; height: 50px; text-align: center; border-bottom-style: hidden;padding-left:25%;" colspan="3">
<span style="border: 2px solid black; padding: 10px; border-radius: 15px; font-size: 14px; color: #fff; background-color: black;">FEES ESTIMATE</span>
</td>
<td style="width: 137px; height: 50px; border-left-style: hidden; border-bottom-style: hidden;"><strong>DOM:</strong>&nbsp;{{billNo}}</td>
</tr>
<tr style="height: 24px;">
<td style="width: 136px; height: 24px;" colspan="3"><!--<strong>RECEIVED FROM</strong>--></td>
<td style="width: 137px; height: 24px; border-left-style: hidden;"><strong>Date:</strong>&nbsp;{{billDate}}</td>
</tr>
<tr style="height: 24px;">
<td style="width: 136px; height: 24px; border-bottom-style: hidden;" colspan="2"><strong>Mr. /Mrs. /Miss:</strong>&nbsp;{{studentDetails.Firstname}}</td>
<td style="width: 137px; height: 24px; border-bottom-style: hidden;" colspan="2"><strong>Enrl.No:</strong>&nbsp;{{CUDetails.EnrollmentID}}</td>
</tr>
<tr style="height: 24px;">
<td style="width: 136px; height: 24px;" colspan="2"><strong>S/o. /D/o. W/o. Mr. /Mrs:</strong>&nbsp;{{studentDetails.Fathername}}</td>
<td style="width: 137px; height: 24px;" colspan="2"><strong>Mobile No:</strong>&nbsp;{{studentDetails.MobileNumber}}</td>
</tr>
<tr style="height: 24px;">
<td style="width: 136px; height: 24px;"><strong>Course:</strong>&nbsp;{{CUDetails.CourseName}}</td>
<td style="width: 136px; height: 24px;"><strong>Sem/Year:</strong>&nbsp;{{items.FeesName}}</td>
<td ng-if="items.ToSessionName=='Not Applicale'" style="width: 137px; height: 24px;"><strong>Session:</strong>&nbsp;{{items.SessionName}}</td>
<td ng-if="items.ToSessionName!='Not Applicale'" style="width: 137px; height: 24px;"><strong>Session:</strong>&nbsp;{{items.SessionName}}/{{items.ToSessionName}}</td>
<td style="width: 137px; height: 24px;"><strong>Univ:</strong>&nbsp;{{CUDetails.UniveShortName}}</td>
</tr>
<tr style="height: 24px;">
<td style="width: 136px; height: 24px;" colspan="4"><strong>Rupees In Words:</strong>&nbsp; {{amountInWords}}</td>
</tr>
<tr style="height: 110px;">
<td style="width: 136px; height: 110px;"><span style="border: 2px solid black; padding: 10px;font-size: 14px; color: #fff; background-color: black;">RS.</span><span style="border: 2px solid black; padding: 10px 30px;font-size: 14px; color: black; background-color: #fff;">{{billAmount}}</span></td>
<td style="width: 136px; height: 110px;" colspan="2">
<p><strong>Cash / DD / Cheque:</strong>&nbsp;{{paymentType}}</p>
<p><strong>Payable At/Base&nbsp;Branch:</strong>&nbsp; {{branchName}}</p>
<p><strong>Received By:</strong>&nbsp; {{ReceivedBy}}</p>
<p><strong>Date:</strong>&nbsp;<span>{{billDate}}</span> &nbsp; &nbsp; <strong>Place:</strong>&nbsp; {{branchName}}</p>
</td>
<td style="width: 137px; height: 110px;"><strong>For APOLLO DISTANCE EDUCATION COLLEGE</strong></td>
</tr>
<tr style="height: 42px;">
<td style="width: 136px; height: 42px; color: white; background-color: black; font-size: 14px;text-align: center;" colspan="4">Note: Terms & Conditions will be applicable as per University norms Fees once paid will not be refunded at any reasons</td>
</tr>
</tbody>
</table>
</div>