- IP pool: sheet import (xlsx/csv) matched by address, bulk allocate/revoke with notification email (ip_allocated/ip_revoked), ip_pool_logs history. - Orders/invoices: Excel export on branded template (BrandedReportWriter), shared billing filters, order item service info in list responses. - Web design quote Excel export; activity log export. - Service attachments with copy-to-invoice; deployment invoice attachments. - Customer email attachments stored on disk and attached by path. - Admin password change endpoint; user.fullname backfill migration; orders.user_id backfill from logs. - Disable deploy workflow until CI/CD is set up. - Ignore stored customer email and service attachment uploads. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
699 B
PHP
28 lines
699 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests;
|
|
|
|
use Illuminate\Foundation\Http\FormRequest;
|
|
|
|
class BillingExportRequest extends FormRequest
|
|
{
|
|
public function authorize(): bool
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public function rules(): array
|
|
{
|
|
return [
|
|
'filter' => 'nullable|string|max:255',
|
|
'status' => 'nullable|array',
|
|
'status.*' => 'integer|between:0,5',
|
|
'date_from' => 'nullable|date',
|
|
'date_to' => 'nullable|date|after_or_equal:date_from',
|
|
'customer_id' => 'nullable|integer',
|
|
'payment_method' => 'nullable|string|max:50',
|
|
'invoice_type' => 'nullable|integer|in:1,2,3',
|
|
];
|
|
}
|
|
}
|