startSetup(); $table = $setup->getConnection()->newTable($setup->getTable('packaging_planner')) ->addColumn('id', Table::TYPE_INTEGER, null, ['identity' => true, 'unsigned' => true, 'nullable' => false, 'primary' => true], 'ID') ->addColumn('product_name', Table::TYPE_TEXT, 255, ['nullable' => false], 'Product Name') ->addColumn('quantity', Table::TYPE_INTEGER, null, ['nullable' => false], 'Quantity to be Packed') ->addColumn('priority', Table::TYPE_TEXT, 50, ['nullable' => false], 'Priority Level') ->addColumn('deadline', Table::TYPE_DATE, null, ['nullable' => false], 'Deadline') ->addColumn('status', Table::TYPE_TEXT, 50, ['nullable' => false, 'default' => 'Pending'], 'Status') ->addColumn('assigned_to', Table::TYPE_TEXT, 100, ['nullable' => false], 'Assigned To') ->addColumn('comments', Table::TYPE_TEXT, '64k', ['nullable' => true], 'Comments') ->setComment('Packaging Planner Table'); $setup->getConnection()->createTable($table); $setup->endSetup(); } } // Embed Google Form in a Webpage declare(strict_types=1); namespace Vendor\PackagingPlanner\Block\Adminhtml\Form; use Magento\Backend\Block\Template; use Magento\Backend\Block\Template\Context; class GoogleFormEmbed extends Template { protected $_template = 'Vendor_PackagingPlanner::google_form.phtml'; public function __construct(Context $context, array $data = []) { parent::__construct($context, $data); } } // Google Form Embed Template (google_form.phtml) ?>
WA button WA button