view: Convertidos a solo lecturas los campos de resumen de compra.
This commit is contained in:
		| @@ -35,9 +35,9 @@ class PurchaseLineForm(forms.ModelForm): | ||||
|         ] | ||||
|  | ||||
| class PurchaseSummaryForm(forms.Form): | ||||
|     quantity_lines = forms.IntegerField() | ||||
|     quantity_products = forms.IntegerField() | ||||
|     ammount = forms.DecimalField(max_digits=10, decimal_places=2) | ||||
|     quantity_lines = forms.IntegerField(widget=forms.NumberInput(attrs={'readonly': 'readonly'})) | ||||
|     quantity_products = forms.IntegerField(widget=forms.NumberInput(attrs={'readonly': 'readonly'})) | ||||
|     ammount = forms.DecimalField(max_digits=10, decimal_places=2, widget=forms.NumberInput(attrs={'readonly': 'readonly'})) | ||||
|  | ||||
| LineaFormSet = inlineformset_factory( | ||||
|     Sale, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user