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',
];
+56
View File
@@ -0,0 +1,56 @@
<?php
return [
'navigation_label' => 'Teklifler',
'model_label' => 'Teklif',
'plural_model_label' => 'Teklifler',
'title' => 'Teklif Yönetimi',
'create' => 'Yeni Teklif Oluştur',
'edit' => 'Teklifi Düzenle',
'delete' => 'Sil',
'restore' => 'Geri Yükle',
'force_delete' => 'Kalıcı Olarak Sil',
// Sections
'content_section' => 'Teklif Detayları ve İçerik',
'settings_section' => 'Durum ve Ayarlar',
'client_section' => 'Müşteri Bilgileri',
// Fields
'title_field' => 'Teklif Başlığı',
'slug_field' => 'Teklif Linki (Slug)',
'slug_helper' => 'Müşteriye özel bağlantı adresi. Benzersiz olmalıdır. Örn: tt-2026-deepp-001',
'client_name_field' => 'Müşteri Kurum / Kişi Adı',
'client_email_field' => 'Müşteri E-posta Adresi',
'content_field' => 'Teklif İçeriği (Markdown formatında)',
'total_price_field' => 'Teklif Tutarı',
'currency_field' => 'Para Birimi',
'status_field' => 'Teklif Durumu',
'valid_until_field' => 'Geçerlilik Tarihi',
'accent_color_field' => 'Arayüz Tema Rengi',
'show_calculator_field' => 'KDV Muafiyet Hesaplayıcısını Göster',
'views_count_field' => 'Görüntülenme Sayısı',
// Statuses
'status_draft' => 'Taslak',
'status_sent' => 'Gönderildi',
'status_accepted' => 'Onaylandı',
'status_rejected' => 'Reddedildi',
'status_revised' => 'Revizyon İstendi',
// Table
'table_title' => 'Başlık',
'table_slug' => 'Bağlantı',
'table_client' => 'Müşteri',
'table_price' => 'Tutar',
'table_status' => 'Durum',
'table_valid_until' => 'Son Geçerlilik',
'table_views' => 'Görüntülenme',
'table_created_at' => 'Oluşturulma',
'table_updated_at' => 'Güncellenme',
// Actions
'copy_link' => 'Teklif Linkini Kopyala',
'link_copied' => 'Teklif bağlantısı panoya kopyalandı!',
'preview' => 'Teklifi Önizle',
];