sling-web-business-sales-report-expanded

Sales Report Expanded Business Component

Usage no npm install needed!

<script type="module">
  import slingWebBusinessSalesReportExpanded from 'https://cdn.skypack.dev/sling-web-business-sales-report-expanded';
</script>

README

Sling Sales Report Expanded Business Component.

This component expands the sales report by product type.

Usage

This is how you set the component into the project html structure

    <!--root project index file -->
    <sling-sdk-connect></sling-sdk-connect>

    <!-- component wrapper page location -->
    <sling-sales-report-expanded
        stonecode=""
        apitoken=""
        startdate=""
        finaldate=""
        producttype="">
    </sling-sales-report-expanded>

The stonecode and apitoken atributes are mandatory for the component to make the correct request to the integrated api and populate it with data. The sibling component sling-sdk-connect must be passed in the project root index html file for data management purposes. If the project has multiple business components this must be passed ONLY ONCE.

Project Wiki:

https://stonepayments.atlassian.net/wiki/spaces/APICLIENTE