Bug #31313
Prices are not rendered correctly
| Status: | Closed | Start date: | 2011-10-26 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Xavier Perseguers | % Done: | 100% |
|
| Category: | Web service | |||
| Target version: | 1.4.1 | Estimated time: | 0.50 hour | |
| Votes: | 0 |
Description
This is a bug description received by email from Cédric Corminboeuf after a discussion with Jean-Daniel Faessler.
Il semblerait que les prix ne soient pas gérés correctement par l’API(niveau affichage donc), mais les données du webservices sont bien conformes.
Exemple :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://nexplore.ch/bk/refegov/webservice/messagecontract/20">
<soapenv:Header/>
<soapenv:Body>
<ns:GetServiceDetailRequest>
<ns:eCHserviceID>12345</ns:eCHserviceID>
<ns:eCHlanguageID>FR</ns:eCHlanguageID>
<ns:organisationID>02291</ns:organisationID>
<ns:eCHcommunityID>10-00</ns:eCHcommunityID>
<ns:eCHserviceVersionID>0</ns:eCHserviceVersionID>
<ns:eCHserviceBlock>5,8</ns:eCHserviceBlock>
</ns:GetServiceDetailRequest>
</soapenv:Body>
</soapenv:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GetServiceDetailResponse xmlns="http://nexplore.ch/bk/refegov/webservice/messagecontract/20">
<eCHserviceDetail>
<formularBlock label="Formulaire(s)" id="5" xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/20">
<formular idx="229" uri="http://www.egovernment.ch">
<formularName>Formulaire 1</formularName>
<description>Attestation de domicile pour citoyen Suisse</description>
</formular>
<formular idx="230" uri="https://eforms1.dev.cyberadmin.ch/20/?form=12345-13518-230-FR&eCHmunicipalityID=02291&organisationID=02291">
<formularName>Formulaire 2</formularName>
<description>Attestation de domicile pour personne étrangère</description>
</formular>
</formularBlock>
<feeBlock label="Coût(s) de la prestation" id="8" xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/20">
<feeInfo>
<description>20.-</description>
<pricingList>
<pricing idx="229">
<price label="Coût">
<content xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/baseTypes/20">32</content>
</price>
<fee label="Frais">
<content xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/baseTypes/20">1</content>
</fee>
<epaymentEnabled label="ePayment">
<content xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/baseTypes/20">false</content>
</epaymentEnabled>
<vatCode label="Code TVA">
<content xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/baseTypes/20">2</content>
</vatCode>
</pricing>
<pricing idx="230">
<price label="Coût">
<content xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/baseTypes/20">10</content>
</price>
<fee label="Frais">
<content xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/baseTypes/20">1</content>
</fee>
<epaymentEnabled label="ePayment">
<content xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/baseTypes/20">true</content>
</epaymentEnabled>
<vatCode label="Code TVA">
<content xmlns="http://nexplore.ch/bk/refegov/webservice/datacontract/baseTypes/20">2</content>
</vatCode>
</pricing>
</pricingList>
</feeInfo>
</feeBlock>
</eCHserviceDetail>
</GetServiceDetailResponse>
</s:Body>
</s:Envelope>
History
Updated by Xavier Perseguers over 1 year ago
- File 31313_output.png added
- Status changed from New to Accepted
Sample output showing the problem:
Updated by Xavier Perseguers over 1 year ago
- Status changed from Accepted to Resolved
- Target version set to 1.4.1
- % Done changed from 0 to 100
- Estimated time set to 0.50
- Committed to trunk (rev. 53450)
- Committed to EGOVAPI_1-4 (rev. 53451)
Updated by Xavier Perseguers over 1 year ago
- Status changed from Resolved to Closed