Email digital receipts, add promo settings, and apply tips at charge.
Deploy Ladill POS / deploy (push) Successful in 31s
Deploy Ladill POS / deploy (push) Successful in 31s
Send real receipt emails from the customer display and sale page, store branch promo content for the idle screen, and fold selected tips into totals.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<?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_sales', function (Blueprint $table) {
|
||||
$table->unsignedInteger('tip_minor')->default(0)->after('loyalty_points_earned');
|
||||
});
|
||||
|
||||
Schema::table('pos_locations', function (Blueprint $table) {
|
||||
$table->string('customer_promo_headline', 160)->nullable()->after('receipt_logo_path');
|
||||
$table->string('customer_promo_body', 500)->nullable()->after('customer_promo_headline');
|
||||
$table->string('customer_promo_image_path')->nullable()->after('customer_promo_body');
|
||||
});
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('pos_sales', function (Blueprint $table) {
|
||||
$table->dropColumn('tip_minor');
|
||||
});
|
||||
|
||||
Schema::table('pos_locations', function (Blueprint $table) {
|
||||
$table->dropColumn([
|
||||
'customer_promo_headline',
|
||||
'customer_promo_body',
|
||||
'customer_promo_image_path',
|
||||
]);
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user