start add selling

This commit is contained in:
Tykayn 2025-02-17 17:51:01 +01:00 committed by tykayn
parent 0d672d5447
commit c1b2c97350
14 changed files with 1798 additions and 92 deletions

View file

@ -169,6 +169,7 @@ angular
$scope.refreshDeduplicateSellings();
}
$scope.removeAll = function () {
console.log('$scope.categories', $scope.categories)
$scope.categories.forEach(category => {
if (category.products && category.products.length) {
@ -193,8 +194,8 @@ angular
$scope.clearSellingComment = function () {
console.log(' $scope.sellingComment', $scope.sellingComment);
// $scope.sellingComment = '';
// document.querySelector('.client-now input').focus();
$scope.sellingComment = '';
document.querySelector('.client-now input').focus();
document.querySelector('.client-now input').select();
};
$scope.clearCurrentSelling = function () {