yoco updated to use webhook

This commit is contained in:
twotalesanimation
2025-12-29 14:43:24 +02:00
parent 6de01c13c5
commit 00b8ff77b2
123 changed files with 6959 additions and 12669 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
require 'vendor/autoload.php';
$app = require_once 'bootstrap/app.php';
$app->make(\Illuminate\Contracts\Console\Kernel::class)->bootstrap();
$products = \App\Models\Product::with('printStocks')->limit(5)->get();
foreach ($products as $p) {
echo "\n{$p->name} ({$p->type}):\n";
foreach ($p->printStocks as $s) {
echo " - {$s->name}: width={$s->width}m, cost_per_meter={$s->cost_per_meter}, cost_per_m2={$s->cost_per_m2}\n";
}
}