Luca Parisio пре 8 месеци
родитељ
комит
ef4e56f494
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      resources/views/livewire/records_in.blade.php

+ 3 - 1
resources/views/livewire/records_in.blade.php

@@ -1012,7 +1012,9 @@
         }
 
         function setChangedAmount() {
-            @this.setAmount();
+            @if(!$isDuplicate)
+                @this.setAmount();
+            @endif
         }
 
     </script>