feat(tahesab): reset local success flags when remote docs were wiped
Clear tahesab_id on locally successful rows so they re-enter the send queue without touching panel customer codes. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -249,6 +249,7 @@ Route::middleware('auth:user')->group(function (){
|
||||
Route::post('tahesab/sync-all-pending', [TahesabController::class, 'syncAllPending']);
|
||||
Route::post('tahesab/doc-sync/start', [TahesabController::class, 'startDocSync']);
|
||||
Route::post('tahesab/doc-sync/stop', [TahesabController::class, 'stopDocSync']);
|
||||
Route::post('tahesab/doc-sync/reset-local', [TahesabController::class, 'resetLocalDocSync']);
|
||||
Route::post('tahesab/customer-sync/outbound/start', [TahesabController::class, 'startCustomerOutbound']);
|
||||
Route::post('tahesab/customer-sync/inbound/start', [TahesabController::class, 'startCustomerInbound']);
|
||||
Route::get('tahesab/customer-sync/status', [TahesabController::class, 'customerSyncStatus']);
|
||||
|
||||
Reference in New Issue
Block a user