Skip to content

Commit

Permalink
cleaning up insurance chb#53
Browse files Browse the repository at this point in the history
  • Loading branch information
sayan801 committed Jun 24, 2016
1 parent fe75b10 commit e74f506
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion indivo/data_models/contrib/insurance/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ class Insurance(Fact):
guarantor_name_family = models.CharField(max_length=50)
group_id = models.CharField(max_length=50)
insurance_tel_number = models.CharField(max_length=12)
insurance_image = models.FileField(upload_to='insurance_card',null=True)
#insurance_image = models.FileField(upload_to='insurance_card',null=True)

2 changes: 1 addition & 1 deletion indivo/schemas/data/contrib/insurance/insurance.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<guarantor_name_family>Dang</guarantor_name_family>
<group_id>16379000</group_id>
<insurance_tel_number>888-515-1494</insurance_tel_number>
<insurance_image></insurance_image>
<!-- <insurance_image></insurance_image> -->
</Insurance>


2 changes: 1 addition & 1 deletion indivo/schemas/data/contrib/insurance/schema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ elementFormDefault="qualified">
<element name="guarantor_name_family" type="string" minOccurs="0" maxOccurs="1" />
<element name="group_id" type="string" minOccurs="0" maxOccurs="1" />
<element name="insurance_tel_number" type="string" minOccurs="0" maxOccurs="1" />
<element name="insurance_image" type="string" minOccurs="0" maxOccurs="1" />
<!-- <element name="insurance_image" type="string" minOccurs="0" maxOccurs="1" />-->
</sequence>
</complexType>
</element>
Expand Down
2 changes: 1 addition & 1 deletion indivo/schemas/data/contrib/insurance/transform.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<Field name="guarantor_name_family"><xsl:value-of select='indivodoc:guarantor_name_family/text()' /></Field>
<Field name="group_id"><xsl:value-of select='indivodoc:group_id/text()' /></Field>
<Field name="insurance_tel_number"><xsl:value-of select='indivodoc:insurance_tel_number/text()' /></Field>
<Field name="insurance_image"><xsl:value-of select='indivodoc:insurance_image/text()' /></Field>
<!-- <Field name="insurance_image"><xsl:value-of select='indivodoc:insurance_image/text()' /></Field>-->
</Model>
</Models>
</xsl:template>
Expand Down
12 changes: 12 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Django==1.4.16
Markdown==2.3.1
South==0.7.6
Sphinx==1.1.3
lxml==2.2.4
# If you are using PostgreSQL
psycopg2==2.4.1
rdflib==3.2.3
pyparsing>=1.5.6,<2.0
pytz==2013b
rdfextras==0.3
isodate==0.4.9

0 comments on commit e74f506

Please sign in to comment.