Add initial Code

This commit is contained in:
2025-10-20 08:57:51 +02:00
parent d204098d8e
commit 9da301c4f1
447 changed files with 34393 additions and 0 deletions
@@ -0,0 +1,18 @@
<?php
namespace App\Http\Controllers;
use App\Models\PaymentTerms;
use App\Support\ApiDataTransformer;
class PaymentTermsController extends Controller
{
public function index()
{
$paymentTerms = PaymentTerms::get();
return $paymentTerms->map(function ($paymentTerms) {
return ApiDataTransformer::snakeToCamel($paymentTerms->toArray());
});
}
}