LP#1687125: adding provider note to provider note in fm_IDL
authorRogan Hamby <rogan.hamby@gmail.com>
Fri, 28 Apr 2017 23:08:50 +0000 (19:08 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 29 Jun 2017 14:07:26 +0000 (10:07 -0400)
This patch makes provider notes available to the reporter.

To test
-------
[1] Add a note to a provider record (note that at present,
    this can only be done directly in the database).
[2] In the report editor, verify that the reporting
    source for providers now includes a link to notes.
[3] Create and run a report that includes the provider
    note.

Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/examples/fm_IDL.xml

index eaaa780..d4eb723 100644 (file)
@@ -7699,13 +7699,15 @@ SELECT  usr,
                        <field reporter:label="Fax Phone" name="fax_phone" reporter:datatype="text" />
                        <field reporter:label="Default Claim Policy" name="default_claim_policy" reporter:datatype="link" />
                        <field reporter:label="Default # Copies" name="default_copy_count" reporter:datatype="int" />
+                       <field reporter:label="Note" name="provider_note" reporter:datatype="link" />
                </fields>
                <links>
                        <link field="currency_type" reltype="has_a" key="code" map="" class="acqct"/>
                        <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
             <link field="addresses" reltype="has_many" map="" key="provider" class="acqpa"/>
             <link field="edi_default" reltype="has_a" map="" key="id" class="acqedi"/>
-            <link field="default_claim_policy" reltype="has_a" map="" key="id" class="acqclp"/>
+                       <link field="default_claim_policy" reltype="has_a" map="" key="id" class="acqclp"/>
+                       <link field="provider_note" reltype="has_a" map="" key="id" class="acqpron"/>
                </links>
         <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
             <actions>