<?xml version="1.0"?>
<!--
/**
 * BSS Commerce Co.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the EULA
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://bsscommerce.com/Bss-Commerce-License.txt
 *
 * @category   BSS
 * @package    Bss_QuoteExtension
 * @author     Extension Team
 * @copyright  Copyright (c) 2018-2023 BSS Commerce Co. ( http://bsscommerce.com )
 * @license    http://bsscommerce.com/Bss-Commerce-License.txt
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <preference for="Magento\Sales\Model\Order\Pdf\Invoice" type="Bss\QuoteExtension\Model\Order\Pdf\Invoice"/>
    <preference for="Magento\Sales\Model\Order\Pdf\Shipment" type="Bss\QuoteExtension\Model\Order\Pdf\Shipment"/>
    <preference for="Magento\Sales\Model\Order\Pdf\Creditmemo" type="Bss\QuoteExtension\Model\Order\Pdf\Creditmemo"/>
    <type name="Magento\Email\Model\AbstractTemplate">
        <plugin name="add_variable_quote_extension_new_order_template"
                type="Bss\QuoteExtension\Plugin\AddVariableQuoteExtensionSaleOrderEmailTemplate"
                sortOrder="50"/>
    </type>
    <!-- Sale order grid -->
    <type name="Magento\Sales\Model\ResourceModel\Order\Grid\Collection">
        <plugin name="sales_order_r4q_columns"
                type="Bss\QuoteExtension\Plugin\SalesOrderGridPlugin"
                sortOrder="10"/>
    </type>
</config>
