Исправлен пересчет весовых товаров в онлайн реализации
This commit is contained in:
miroman-afk
2023-08-15 10:54:39 +03:00
parent 468cb21e40
commit a7c1679d12
6 changed files with 76 additions and 34 deletions

View File

@@ -72,7 +72,7 @@
var timer = $interval(function () {
$scope.currentDate = new Date();
}, 1000);
}, 5000);
$scope.nextImage = function () {
$('.carousel').carousel('next');
@@ -83,7 +83,7 @@
//Автоматическое обновление данных
$scope.timerEnabled = false;
$scope.timeRemaining = new Date(0, 0, 0, 0, 1, 0);
$scope.timeRemaining = new Date(0, 0, 0, 0, 5, 0);
var updateTimer = null;
$scope.toggleTimer = function () {
@@ -134,29 +134,6 @@
paging: false,
info: false,
};
/* $scope.dtoptions = {
/!*dom: "lfBrtip",*!/
language: {
url: "https://cdn.datatables.net/plug-ins/1.13.3/i18n/ru.json",
},
autoWidth: true,
searching: true,
paging: false,
info: false,
aoColumns: [
{title: "#"},
{title: "Гость", visible: false},
{title: "Статус", className: "text-right"},
{title: "Открыт", className: "text-right"},
{title: "Закрыт", className: "text-right"},
{title: "Сумма, BYN", className: "text-right"}
]
/!*buttons: [
{text: 'Экспорт в PDF', className: 'md-btn md-raised m-b-sm blue', extend: 'pdf'},
]*!/
};*/
$scope.orders_closed = {
percent: 0,
total: 0,