summaryrefslogtreecommitdiff
path: root/addons/point_of_sale/static/src/xml/Popups/OrderImportPopup.xml
blob: b2f142b9536ca2adff91795be2cd63cbfbeb8034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">

    <t t-name="OrderImportPopup" owl="1">
        <div role="dialog" class="modal-dialog">
            <Draggable>
                <div class="popup popup-import">
                    <header class="title drag-handle">
                        <span>Finished Importing Orders</span>
                    </header>
                    <ul class="body">
                        <li>Successfully imported <b><t t-esc="props.report.paid or 0" /></b> paid orders</li>
                        <li>Successfully imported <b><t t-esc="props.report.unpaid or 0" /></b> unpaid orders</li>
                        <t t-if="unpaidSkipped">
                            <li><b><t t-esc="unpaidSkipped"/></b> unpaid orders could not be imported
                                <ul>
                                    <li><b><t t-esc="props.report.unpaid_skipped_existing or 0" /></b> were duplicates of existing orders</li>
                                    <li><b><t t-esc="props.report.unpaid_skipped_session or 0" /></b> belong to another session:
                                        <t t-if="props.report.unpaid_skipped_sessions">
                                            <ul>
                                                <li>Session ids: <b><t t-esc="props.report.unpaid_skipped_sessions" /></b></li>
                                            </ul>
                                        </t>
                                    </li>
                                </ul>
                            </li>
                        </t>
                    </ul>
                    <footer class="footer">
                        <div class="button cancel" t-on-click="cancel">
                            <t t-esc="props.confirmText" />
                        </div>
                    </footer>
                </div>
            </Draggable>
        </div>
    </t>

</templates>