Print option changed in bill details screen

This commit is contained in:
gandhimathi 2018-08-31 15:13:38 +05:30
parent 6a1ed4aa3a
commit ac76305890
2 changed files with 4 additions and 2 deletions

View File

@ -2298,6 +2298,7 @@ app.controller('FeesModalInstanceCtrl', ["$scope", "$modalInstance", "$timeout",
$scope.BranchLogo = "";
$scope.FeesReceiptTitle = "";
$scope.myPdfView = '';
$scope.cur_url = '';
$scope.ShowHide = function (pdfValue,print) {
$timeout(()=> {
//alert(this.print);
@ -2316,6 +2317,7 @@ app.controller('FeesModalInstanceCtrl', ["$scope", "$modalInstance", "$timeout",
$scope.BranchLogo = pdfValue.LogoPath;
$scope.FeesReceiptTitle = pdfValue.FeesReceiptTitle;
$scope.receiptNo=pdfValue.ReceiptNo;
$scope.cur_url = window.location.hostname + window.location.pathname;

View File

@ -455,14 +455,14 @@
<tr class="title-row" style="height: 15px;">
<td class="title-branch" ng-if="BranchLogo=='' || BranchLogo==null" style="width: 136px; height: 82px; color: white; font-size: 22px; text-align: center;" rowspan="3">
<div class="user-image">
<img class="pull-center" ng-src="assets/images/logo1.png" alt="APP">
<img class="pull-center" ng-src="http://{{cur_url}}assets/images/logo1.png" alt="APP">
<!-- <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 class="title-branch" ng-if="BranchLogo!='' && BranchLogo!=null" style="width: 136px; height: 82px; color: white; font-size: 22px; text-align: center;" rowspan="3">
<div class="user-image">
<img class="pull-center" ng-src="images/{{BranchLogo}}" alt="APP">
<img class="pull-center" ng-src="http://{{cur_url}}images/{{BranchLogo}}" alt="APP">
<!-- <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>