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

if (!defined('ABSPATH'))
{
    exit;
}
?>
<div class="row" v-if="pageAdd.show">
    <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/printings/add/html-info.php'); ?>

    <?php require_once(PDAPP_ADMIN_PLUGIN_DIR .'pages/printings/add/html-setup.php'); ?>

    <div class="col-12">
        <div class="text-end mb-2 d-flex align-items-center justify-content-end">
            <button type="button" class="btn w-sm btn-light border waves-effect" @click="showListPrints">{{ langs.cancel }}</button>
            <button type="button" class="btn w-sm btn-primary waves-effect waves-light ms-2" :disabled="disabledSave" @click="savePrint">
                <span class="spinner-border spinner-border-sm me-1" role="status" aria-hidden="true" v-if="pageAdd.saving"></span>
                {{ pageAdd.data.id == '' ? langs.print.save_print : langs.print.update_print }}
            </button>
        </div>
    </div>
</div>