<?xml version="1.0" encoding="utf-8" ?>
<module>
  <id>VirtoCommerce.Quote</id>
  <version>2.7.0</version>
  <platformVersion>2.7.0</platformVersion>
  <dependencies>
    <dependency id="VirtoCommerce.Core" version="2.7.0" />
  </dependencies>

  <title>Quote module</title>
  <description>Quoter enables business users to execute quote requests online. Once initiated, an online conversation takes place with internal users who interact with the business user’s request. The internal user can set prices for quantity breaks or discounts. The quote is then made available to the business user online. The business user can accept the quote and place the order, continue the conversation, or reject the quote. </description>
  <authors>
    <author>Virto Commerce</author>
  </authors>
  <owners>
    <owner>Virto Commerce</owner>
  </owners>
  <projectUrl>http://virtocommerce.com/</projectUrl>
  <iconUrl>Modules/$(VirtoCommerce.Core)/Content/logoVC.png</iconUrl>
  <releaseNotes>First version.</releaseNotes>
  <copyright>Copyright © 2011-2015 Virto Commerce. All rights reserved</copyright>
  <tags>b2b quotes</tags>

  <assemblyFile>VirtoCommerce.QuoteModule.Web.dll</assemblyFile>
  <moduleType>VirtoCommerce.QuoteModule.Web.Module, VirtoCommerce.QuoteModule.Web</moduleType>
  <styles>
    <directory virtualPath="$/Content/css" searchPattern="*.css" searchSubdirectories="true" />
  </styles>
  <scripts>
    <directory virtualPath="$/Scripts" searchPattern="*.js" searchSubdirectories="true" />
  </scripts>
  <settings>
    <group name="Quotes|General">
      <setting>
        <name>Quotes.Status</name>
        <valueType>string</valueType>
        <defaultValue>New</defaultValue>
        <title>Quote statuses</title>
        <description>Dictionary of possible Statuses that a quote can be in</description>
        <isArray>true</isArray>
        <arrayValues>
          <value>New</value>
          <value>Processing</value>
          <value>Proposal sent</value>
          <value>Ordered</value>
        </arrayValues>
      </setting>
      <setting>
        <name>Quotes.QuoteRequestNewNumberTemplate</name>
        <valueType>string</valueType>
        <defaultValue>RFQ{0:yyMMdd}-{1:D5}</defaultValue>
        <title>New Quote Request number template (e.g., "RFQ{0:yyMMdd}-{1:D5}")</title>
        <description>The template (pattern) that will be used to generate the number for new Quote Request. Parameters: 0 - date (the UTC time of number generation); 1 - the sequence number.</description>
      </setting>
      <setting>
        <name>Quotes.ExportImport.Description</name>
        <valueType>string</valueType>
        <defaultValue>Export/Import Request for quotes (RFQs)</defaultValue>
        <title>Export/Import description</title>
        <description>Module description in platform export/import wizard</description>
      </setting>
    </group>
  </settings>
  <permissions>
    <group name="Quote">
      <permission id="quote:access" name="Open quotes menu"/>      
      <permission id="quote:create" name="Create quote"/>
      <permission id="quote:read" name="View quotes"/>
      <permission id="quote:update" name="Update quote"/>
      <permission id="quote:delete" name="Delete quote"/>
    </group>
  </permissions>
</module>
