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