<?php
/*
* Plugin-Name: Product Designer App
* Plugin-URI: https://productdesignerapp.com
* Author: productdesignerapp
* Page: Printings
*/

if (!defined('ABSPATH'))
{
    exit;
}
?>
<template v-if="modal.type == 'qty'">
    <div class="modal-body">
        <label class="form-label">{{ langs.print.quantity }}</label>
        <input type="number" min="1" step="1" class="form-control form-control-sm" v-model="modal.data.qty" :placeholder="langs.print.print_qty_desc">
        <small class="form-text text-muted">{{ langs.print.print_qty_help }}</small>
    </div>

    <div class="modal-footer">
        <button type="button" class="btn btn-light" @click="modal.show = false">{{ langs.cancel }}</button>
        <button type="button" class="btn btn-primary" :disabled="modal.data.qty == 0" @click="savePrintValues()">{{ langs.add }}</button>
    </div>
</template>