feature/#26_enhance_storage_stock_display #37
@@ -158,7 +158,6 @@ class EditLotForm(EditStockBaseForm):
 | 
			
		||||
        stock.save()
 | 
			
		||||
 | 
			
		||||
class EditStockAmountForm(EditStockBaseForm):
 | 
			
		||||
    stock_uuid = forms.UUIDField()
 | 
			
		||||
    amount = forms.IntegerField(min_value=0)
 | 
			
		||||
 | 
			
		||||
    def save(self, increase: bool):
 | 
			
		||||
 
 | 
			
		||||
@@ -133,7 +133,7 @@
 | 
			
		||||
    {% with add_storage_form as form %}
 | 
			
		||||
    {% include 'parts/modals/add-substorage-modal.html' %}
 | 
			
		||||
    {% endwith %}
 | 
			
		||||
    <!-- Modal to change current storag-->
 | 
			
		||||
    <!-- Modal to change current storage-->
 | 
			
		||||
    {% with change_storage_form as form %}
 | 
			
		||||
    {% include 'parts/modals/change-storage-modal.html' %}
 | 
			
		||||
    {% endwith %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user