Reduce booking template library to eliminate duplicate suggestions when users describe transactions. Templates with identical accounting treatment (same account + VAT) are merged, keywords consolidated, and the entire subscriptions group is eliminated. Also includes prior work on reports, extensions, and transaction improvements. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
10 lines
293 B
TypeScript
10 lines
293 B
TypeScript
import { NextResponse } from 'next/server'
|
|
|
|
/**
|
|
* Legacy route — redirects to /api/reports/sru-export
|
|
*/
|
|
export async function GET(request: Request) {
|
|
const { search } = new URL(request.url)
|
|
return NextResponse.redirect(new URL(`/api/reports/sru-export${search}`, request.url), 308)
|
|
}
|