-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ajout de sous-service claim et sous-item claim * justement GqlQueries + Models * ajustement Utils pour calcul montant cote serveur * correction enregistrement des services simple dans le claim * ajustement claim utils pour gestion de l'update * ajustement validations frequency Check * Ajustement graphQL pour enregistrement review * Update openmis-module-test.yml * fix gql_mutations.py remove print * ajustement utils * Fix concurrent migrations with OP-1199 * Ajustement prix Claimservice ref#26349 * Check concordance des qte a la validation ref#26249 * Ajustement * Rajout du check sur les items ref#26249 * Ajsutement * fix update claim * Correction vérification ref#26349 * Ajustement migration * Ajustement migration en rapport au develop * Ajustement mutation sousservices et sousitems ref#26470 * Ajustement update price_ajusted * Add tests * ajustements * Nouveu test unitaire concernant les produits avec packatype differents ref 26800 * Ajustement nan * Ajustement * database config * Ajustement * Ajustement config * Ajustmenet variables * Ajustement test * Ajutement * tweaks * standard names * fixing nepal migration * Update claim/migrations/0030_claimattachmenttype_claimattachment_predefined_type.py * fix: remove empty line * fix migrations * Rename 0030_claimattachmenttype_claimattachment_predefined_type.py to 0028_claimattachmenttype_claimattachment_predefined_type.py * Update 0030_merge_20240318_1324.py key error * Removed self replaces --------- Co-authored-by: maxime ngoe <maxime.ngoe@gmail.com> Co-authored-by: Eric Darchis <edarchis@bluesquarehub.com> Co-authored-by: Eric Darchis <darchis@pobox.com> Co-authored-by: Tiah Kevel <k.choumene@cloudfacile.com> Co-authored-by: keveltiah <53906829+kevel-dev@users.noreply.github.com> Co-authored-by: kevel <keveltiah@gmail.com> Co-authored-by: olewandowski1 <olewandowski@soldevelo.com> Co-authored-by: Kamil Malinowski <kmalinowski@soldevelo.com>
- Loading branch information
1 parent
45bae42
commit af79efe
Showing
20 changed files
with
615 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
claim/migrations/0028_claimserviceitem_claimserviceservice.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Generated by Django 3.0.14 on 2022-08-22 18:48 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import django.utils.timezone | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('claim', '0027_auto_20240203_2339'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='ClaimServiceService', | ||
fields=[ | ||
('idCss', models.AutoField(db_column='idCss', primary_key=True, serialize=False)), | ||
('qty_provided', models.IntegerField(blank=True, db_column='qty_provided', null=True)), | ||
('qty_displayed', models.IntegerField(blank=True, db_column='qty_displayed', null=True)), | ||
('pcpDate', models.DateTimeField(blank=True, db_column='created_date', default=django.utils.timezone.now, null=True)), | ||
('price_asked', models.DecimalField(blank=True, db_column='price', decimal_places=2, max_digits=18, null=True)), | ||
('claimlinkedService', models.ForeignKey(db_column='claimlinkedService', on_delete=django.db.models.deletion.DO_NOTHING, related_name='claimlinkedService', to='claim.ClaimService')), | ||
('service', models.ForeignKey(db_column='ServiceId', on_delete=django.db.models.deletion.DO_NOTHING, related_name='claimServices', to='medical.Service')), | ||
], | ||
options={ | ||
'db_table': 'tblClaimServicesService', | ||
'managed': True, | ||
}, | ||
), | ||
migrations.CreateModel( | ||
name='ClaimServiceItem', | ||
fields=[ | ||
('idCsi', models.AutoField(db_column='idCsi', primary_key=True, serialize=False)), | ||
('qty_provided', models.IntegerField(blank=True, db_column='qty_provided', null=True)), | ||
('qty_displayed', models.IntegerField(blank=True, db_column='qty_displayed', null=True)), | ||
('pcpDate', models.DateTimeField(blank=True, db_column='created_date', default=django.utils.timezone.now, null=True)), | ||
('price_asked', models.DecimalField(blank=True, db_column='price', decimal_places=2, max_digits=18, null=True)), | ||
('claimlinkedItem', models.ForeignKey(db_column='ClaimServiceID', on_delete=django.db.models.deletion.DO_NOTHING, related_name='claimlinkedItem', to='claim.ClaimService')), | ||
('item', models.ForeignKey(db_column='ItemID', on_delete=django.db.models.deletion.DO_NOTHING, related_name='claimItems', to='medical.Item')), | ||
], | ||
options={ | ||
'db_table': 'tblClaimServicesItems', | ||
'managed': True, | ||
}, | ||
), | ||
] |
67 changes: 67 additions & 0 deletions
67
claim/migrations/0029_rename_pcpdate_claimserviceitem_created_date_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# Generated by Django 4.2.10 on 2024-03-01 08:43 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('claim', '0028_claimserviceitem_claimserviceservice'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='claimserviceitem', | ||
old_name='pcpDate', | ||
new_name='created_date', | ||
), | ||
migrations.RenameField( | ||
model_name='claimserviceitem', | ||
old_name='idCsi', | ||
new_name='id', | ||
), | ||
migrations.RenameField( | ||
model_name='claimserviceservice', | ||
old_name='pcpDate', | ||
new_name='created_date', | ||
), | ||
migrations.RenameField( | ||
model_name='claimserviceservice', | ||
old_name='idCss', | ||
new_name='id', | ||
), | ||
|
||
migrations.RenameField( | ||
model_name='claimserviceservice', | ||
old_name='claimlinkedService', | ||
new_name='claim_service', | ||
), | ||
migrations.RenameField( | ||
model_name='claimserviceitem', | ||
old_name='claimlinkedItem', | ||
new_name='claim_service', | ||
), | ||
|
||
migrations.AlterField( | ||
model_name='claimserviceitem', | ||
name='claim_service', | ||
field=models.ForeignKey(db_column='ClaimServiceID', on_delete=django.db.models.deletion.DO_NOTHING, related_name='items', to='claim.claimservice'), | ||
), | ||
migrations.AlterField( | ||
model_name='claimserviceservice', | ||
name='claim_service', | ||
field=models.ForeignKey(db_column='claimServiceID', on_delete=django.db.models.deletion.DO_NOTHING, related_name='services', to='claim.claimservice'), | ||
), | ||
|
||
migrations.AlterField( | ||
model_name='claimserviceitem', | ||
name='item', | ||
field=models.ForeignKey(db_column='ItemID', on_delete=django.db.models.deletion.DO_NOTHING, related_name='service_items', to='medical.item'), | ||
), | ||
migrations.AlterField( | ||
model_name='claimserviceservice', | ||
name='service', | ||
field=models.ForeignKey(db_column='ServiceId', on_delete=django.db.models.deletion.DO_NOTHING, related_name='service_services', to='medical.service'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Generated by Django 4.2.10 on 2024-03-18 13:24 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('claim', '0028_claimattachmenttype_claimattachment_predefined_type'), | ||
('claim', '0029_rename_pcpdate_claimserviceitem_created_date_and_more'), | ||
] | ||
|
||
operations = [ | ||
] |
Oops, something went wrong.