<?php

/**
 * Quick script to create MultiPOS module
 * Run: php artisan tinker
 * Then paste this code
 */

$module = \App\Models\Module::firstOrCreate(
    ['name' => 'MultiPOS'],
    ['is_active' => true]
);

echo "Module created/loaded: {$module->name}\n";
echo "Module ID: {$module->id}\n";
echo "Is Active: " . ($module->is_active ? 'Yes' : 'No') . "\n";

