Add barcode scanner, thermal receipt printing, and printer settings.
Deploy Ladill POS / deploy (push) Successful in 1m42s
Deploy Ladill POS / deploy (push) Successful in 1m42s
Register supports USB keyboard-wedge scanners with SKU lookup (local catalog and CRM in retail mode). Sales get a thermal receipt print template (58/80mm) with configurable header/footer, plus optional auto-print after cash sales. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('pos_locations', function (Blueprint $table) {
|
||||
$table->string('receipt_header', 500)->nullable()->after('receipt_footer');
|
||||
$table->unsignedTinyInteger('printer_paper_mm')->default(80)->after('receipt_header');
|
||||
$table->boolean('printer_auto_print')->default(false)->after('printer_paper_mm');
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('pos_locations', function (Blueprint $table) {
|
||||
$table->dropColumn(['receipt_header', 'printer_paper_mm', 'printer_auto_print']);
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user