show bill no for user in receive fee

This commit is contained in:
venbatechnologies@gmail.com 2018-12-17 11:19:34 +05:30
parent 8dc998ae4b
commit 757a5e0165
2 changed files with 3 additions and 1 deletions

View File

@ -540,6 +540,7 @@ class Fees_status_model extends CI_Model
$result['paidStatus'] = true; $result['paidStatus'] = true;
$result['message'] = "Successfully fees details added"; $result['message'] = "Successfully fees details added";
$result['BillNO'] = $feesPaidDetails['BillNO'];
$feesPayedID = $this->db->insert_id(); $feesPayedID = $this->db->insert_id();
// $entryOfCallTrack = $this->updateInCallTrack($trackDetails); // $entryOfCallTrack = $this->updateInCallTrack($trackDetails);
// check static date for day book entry // check static date for day book entry

View File

@ -694,8 +694,9 @@ app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "n
}; };
$http(updateFees).then(function (response) { $http(updateFees).then(function (response) {
if (response.data.status==200 && response.data.paidStatus) { if (response.data.status==200 && response.data.paidStatus) {
console.log(response.data.BillNO);
$scope.ldloading[loading.replace('-', '_')] = false; $scope.ldloading[loading.replace('-', '_')] = false;
swal("Success!", "Updated successfully.", "success"); swal("Success!", "Updated successfully For Bill No "+response.data.BillNO, "success");
/*$scope.updateModel = { /*$scope.updateModel = {
"feesType": "", "feesType": "",
"date": "", "date": "",