Commit e8488da0732506b174a3a71241153f5a46372e97

Authored by Palak Handa
1 parent b96c883832
Exists in master and in 1 other branch paytm

amount regarding issue solve

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
... ... @@ -390,8 +390,10 @@
390 390 var taxAmount = $scope.ticketAmnt - $scope.discountAmount
391 391 console.log("$scope.taxTotal----",taxAmount)
392 392 $scope.payingAmnt = taxAmount;
  393 + console.log("====$scope.payingAmnt====",$scope.payingAmnt)
393 394 $scope.payingAmnt = $scope.payingAmnt.toFixed()
394   - data.amount = $scope.payingAmnt /100;
  395 + data.amount = $scope.payingAmnt;
  396 + console.log("data.amount==",data.amount)
395 397 if($scope.detail != null){
396 398 $http({
397 399 method: 'POST',
... ... @@ -442,6 +444,7 @@
442 444 $scope.paymentResponse.amount = data.amount;
443 445 $scope.paymentResponse.currency = "INR";
444 446 $scope.paymentResponse.status = $scope.paymentResult.data.status;
  447 + console.log("$scope.paymentResponse.amount=====",$scope.paymentResponse.amount)
445 448 $http({
446 449 method: 'PUT',
447 450 url: BASE_URL+'/payments/'+$scope.paymentResult.data.id,
... ...