feat: implement proposal management system including database schema, Filament resources, and client-facing preview views
This commit is contained in:
@@ -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',
|
||||
];
|
||||
Reference in New Issue
Block a user