mirror of https://github.com/interlegis/sapl.git
Browse Source
* impl data e hora manual no protocolo de matérias * impl data e hora manual no protocolo de documentos * ajustes de teste em protocoloadmpull/2457/head
Leandro Roberto da Silva
6 years ago
committed by
GitHub
14 changed files with 369 additions and 97 deletions
@ -0,0 +1,35 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.10.8 on 2019-01-10 15:00 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('protocoloadm', '0013_auto_20190106_1336'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='protocolo', |
|||
name='ip_data_hora_manual', |
|||
field=models.CharField(blank=True, help_text='Endereço IP da estação de trabalho do usuário que está realizando Protocolo e informando data e hora manualmente.', max_length=15, verbose_name='IP'), |
|||
), |
|||
migrations.AddField( |
|||
model_name='protocolo', |
|||
name='user_data_hora_manual', |
|||
field=models.CharField(blank=True, help_text='Usuário que está realizando Protocolo e informando data e hora manualmente.', max_length=20, verbose_name='IP'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='protocolo', |
|||
name='data', |
|||
field=models.DateField(blank=True, help_text='Informado manualmente', null=True, verbose_name='Data do Protocolo'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='protocolo', |
|||
name='hora', |
|||
field=models.TimeField(blank=True, help_text='Informado manualmente', null=True, verbose_name='Hora do Protocolo'), |
|||
), |
|||
] |
@ -0,0 +1,21 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.10.8 on 2019-01-10 15:43 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
import django.utils.timezone |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('protocoloadm', '0014_auto_20190110_1300'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='protocolo', |
|||
name='timestamp_data_hora_manual', |
|||
field=models.DateTimeField(default=django.utils.timezone.now), |
|||
), |
|||
] |
@ -0,0 +1,21 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.10.8 on 2019-01-10 15:45 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
import django.utils.timezone |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('protocoloadm', '0015_protocolo_timestamp_data_hora_manual'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='protocolo', |
|||
name='timestamp', |
|||
field=models.DateTimeField(blank=True, default=django.utils.timezone.now, null=True), |
|||
), |
|||
] |
Loading…
Reference in new issue