fix(tahesab): show missing docs and create local table if absent
Pending list was empty because a missing tahesab table hid unsynced orders and charges. Create the table when needed and keep customer on each row. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -45,6 +45,7 @@ class TahesabController extends Controller
|
||||
|
||||
public function table(Request $request)
|
||||
{
|
||||
app(TahesabSyncService::class)->ensureLocalTable();
|
||||
if (! Schema::hasTable('tahesab')) {
|
||||
return response()->json([]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user