class Meta: model = SalidaOT fields = '__all__' widgets = { 'fecha': SuitDateWidget, 'material': LinkedSelect, 'cantidad': NumberInput(attrs={'class': 'input-mini'}), 'unidad': Select(attrs={'class': 'input-small'}), 'receptor': Select(attrs={'class': 'input-medium'}), }
class Meta: model = MantPreventivo fields = '__all__' widgets = { 'maquina': LinkedSelect, 'ndate': SuitDateWidget, 'ldate': SuitDateWidget, 'nhours': NumberInput(attrs={'class': 'input-mini'}), 'lhours': NumberInput(attrs={'class': 'input-mini'}), 'lapso': NumberInput(attrs={'class': 'input-mini'}), 'intervalo': Select(attrs={'class': 'input-small'}), 'status': Select(attrs={'class': 'input-small'}), }
class Meta: widgets = { 'numPiezas': TextInput(attrs=shortTextField), 'instituto': TextInput(attrs=fullTextField), 'persona': TextInput(attrs=fullTextField), 'tipoReproduccion': Select(attrs=regularSelect) }
class Meta: widgets = { 'numero': TextInput(attrs={'class': 'input-medium'}), 'orientacion': Select(attrs={'class': 'input-medium'}), 'alto': TextInput(attrs={'class': 'input-small'}), 'ancho': TextInput(attrs={'class': 'input-small'}), 'largo': TextInput(attrs={'class': 'input-small'}), }
class Meta: widgets = { 'numero': TextInput(attrs={'class': 'input-medium'}), 'cantidad': TextInput(attrs={'class': 'input-small'}), 'tipoFigura': Select(attrs={'class': 'input-medium'}), 'numero': TextInput(attrs={'class': 'input-small'}), 'descripcion': AutosizedTextarea(attrs={'rows': 2}) }
class Meta: model = MaterialMantenimiento fields = '__all__' widgets = { 'materiales': LinkedSelect, 'cantidad': NumberInput(attrs={'class': 'input-mini'}), 'unidad': Select(attrs={'class': 'input-small'}), }
class Meta: model = Ot fields = '__all__' widgets = { 'maquina': LinkedSelect, 'fecha': SuitSplitDateTimeWidget, 'solicita': LinkedSelect, 'asignado': LinkedSelect, 'departamento': Select(attrs={'class': 'input-small'}), # 'descripcion': AutosizedTextarea(attrs={'rows': 4, 'class': 'input-xlarge'}), }
class Meta: widgets = { 'capacity': EnclosedInput(append='ml', attrs={'class': 'input-small'}), 'height': EnclosedInput(append='mm', attrs={'class': 'input-small'}), 'quantity': EnclosedInput(attrs={'class': 'input-small'}), 'price': EnclosedInput(attrs={'class': 'input-large'}), 'weight': EnclosedInput(append='gr', attrs={'class': 'input-small'}), 'diameter': EnclosedInput(append='mm', attrs={'class': 'input-small'}), 'color': Select(attrs={'class': 'input-medium'}), }
class Meta: widgets = { 'numero': TextInput(attrs={'class': 'input-medium'}), 'orientacion': Select(attrs={'class': 'input-medium'}) }