CaiWuXiTong/modules/EcommerceFinance/Http/Controllers/Api/ReconciliationExceptions.php
WuYongJie 2b6c4030e5
Some checks failed
Tests / PHP 8.1 (push) Has been cancelled
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
chore: 补充财务与支付模块源码
2026-07-20 18:40:05 +08:00

20 lines
554 B
PHP

<?php
namespace Modules\EcommerceFinance\Http\Controllers\Api;
use App\Abstracts\Http\ApiController;
use Modules\EcommerceFinance\Models\ReconciliationMatch;
class ReconciliationExceptions extends ApiController
{
public function index()
{
$matches = ReconciliationMatch::with('settlementLine.settlement.store', 'order')
->whereIn('status', ['unmatched', 'partial_matched'])
->latest('id')
->paginate(min(max((int) request('limit', 25), 1), 100));
return response()->json($matches);
}
}