function GetAllPrintSalesRecord() {
const urlParams = new URLSearchParams(window.location.search);
const OrderNo = urlParams.get('OrderNo');
.then(function (response) {
var data = response.data.modifiedData;
$scope.PrintSalesRecordList = data;
$scope.OrderDate = response.data.OrderDate;
$scope.Total = response.data.total;
$scope.DiscountTotal = response.data.discount;
$scope.VatTotal = response.data.tax;
if ($scope.$$phase) {
$scope.$apply();
}