feat: implement proposal management system including database schema, Filament resources, and client-facing preview views

This commit is contained in:
Ümit Tunç
2026-05-25 07:05:57 +03:00
parent 15ba98e14d
commit c5a33f4d18
14 changed files with 2226 additions and 0 deletions
+56
View File
@@ -0,0 +1,56 @@
<?php
return [
'navigation_label' => 'Proposals',
'model_label' => 'Proposal',
'plural_model_label' => 'Proposals',
'title' => 'Proposal Management',
'create' => 'Create New Proposal',
'edit' => 'Edit Proposal',
'delete' => 'Delete',
'restore' => 'Restore',
'force_delete' => 'Force Delete',
// Sections
'content_section' => 'Proposal Details and Content',
'settings_section' => 'Status and Settings',
'client_section' => 'Client Information',
// Fields
'title_field' => 'Proposal Title',
'slug_field' => 'Proposal URL (Slug)',
'slug_helper' => 'Client-specific URL. Must be unique. E.g.: tt-2026-deepp-001',
'client_name_field' => 'Client Company / Name',
'client_email_field' => 'Client Email Address',
'content_field' => 'Proposal Content (Markdown)',
'total_price_field' => 'Total Price',
'currency_field' => 'Currency',
'status_field' => 'Proposal Status',
'valid_until_field' => 'Valid Until',
'accent_color_field' => 'Accent Theme Color',
'show_calculator_field' => 'Show Tax Exemption Calculator',
'views_count_field' => 'Views Count',
// Statuses
'status_draft' => 'Draft',
'status_sent' => 'Sent',
'status_accepted' => 'Accepted',
'status_rejected' => 'Rejected',
'status_revised' => 'Revision Requested',
// Table
'table_title' => 'Title',
'table_slug' => 'Slug',
'table_client' => 'Client',
'table_price' => 'Price',
'table_status' => 'Status',
'table_valid_until' => 'Valid Until',
'table_views' => 'Views',
'table_created_at' => 'Created At',
'table_updated_at' => 'Updated At',
// Actions
'copy_link' => 'Copy Proposal Link',
'link_copied' => 'Proposal link copied to clipboard!',
'preview' => 'Preview Proposal',
];