|
89 | 89 | ], |
90 | 90 | ], |
91 | 91 |
|
| 92 | + /* |
| 93 | + |-------------------------------------------------------------------------- |
| 94 | + | Notifications |
| 95 | + |-------------------------------------------------------------------------- |
| 96 | + */ |
| 97 | + |
| 98 | + 'notifications' => [ |
| 99 | + 'document' => [ |
| 100 | + 'created_title' => 'Document Created', |
| 101 | + 'created_body' => ':entity #:doc_entry was created successfully', |
| 102 | + 'closed_title' => 'Document Closed', |
| 103 | + 'closed_body' => ':entity #:doc_entry has been closed', |
| 104 | + 'cancelled_title' => 'Document Cancelled', |
| 105 | + 'cancelled_body' => ':entity #:doc_entry has been cancelled', |
| 106 | + ], |
| 107 | + 'payment' => [ |
| 108 | + 'received_title' => 'Payment Received', |
| 109 | + 'received_body' => 'Payment of :amount received from :card_code', |
| 110 | + ], |
| 111 | + 'approval' => [ |
| 112 | + 'requested_title' => 'Approval Requested', |
| 113 | + 'requested_body' => ':object_type #:object_entry requires approval', |
| 114 | + 'completed_title' => 'Approval Completed', |
| 115 | + 'completed_body' => ':object_type #:object_entry approval :status', |
| 116 | + ], |
| 117 | + ], |
| 118 | + |
92 | 119 | /* |
93 | 120 | |-------------------------------------------------------------------------- |
94 | 121 | | Resources |
95 | 122 | |-------------------------------------------------------------------------- |
96 | 123 | */ |
97 | 124 |
|
98 | 125 | 'resources' => [ |
| 126 | + 'common' => [ |
| 127 | + 'export_csv' => 'Export CSV', |
| 128 | + 'actions' => [ |
| 129 | + 'close' => 'Close', |
| 130 | + 'attachment_file' => 'File', |
| 131 | + 'upload_attachment' => 'Upload Attachment', |
| 132 | + 'view_document_flow' => 'Document Flow', |
| 133 | + 'document_flow_title' => 'Document Flow', |
| 134 | + 'no_document_flow' => 'No document flow available', |
| 135 | + ], |
| 136 | + 'notifications' => [ |
| 137 | + 'attachment_uploaded' => 'Attachment uploaded successfully', |
| 138 | + 'attachment_failed' => 'Failed to upload attachment', |
| 139 | + 'flow_failed' => 'Failed to load document flow', |
| 140 | + ], |
| 141 | + ], |
99 | 142 | 'audit_log' => [ |
100 | 143 | 'navigation_label' => 'Audit Logs', |
101 | 144 | 'model_label' => 'Audit Log', |
|
123 | 166 | 'from' => 'From', |
124 | 167 | 'until' => 'Until', |
125 | 168 | ], |
| 169 | + 'tabs' => [ |
| 170 | + 'all' => 'All', |
| 171 | + 'today' => 'Today', |
| 172 | + 'created' => 'Created', |
| 173 | + 'updated' => 'Updated', |
| 174 | + 'deleted' => 'Deleted', |
| 175 | + ], |
126 | 176 | 'actions' => [ |
127 | 177 | 'export' => 'Export', |
128 | 178 | ], |
|
185 | 235 | 'status' => 'Status', |
186 | 236 | 'sync_type' => 'Sync Type', |
187 | 237 | ], |
| 238 | + 'tabs' => [ |
| 239 | + 'all' => 'All', |
| 240 | + 'running' => 'Running', |
| 241 | + 'failed' => 'Failed', |
| 242 | + 'today' => 'Today', |
| 243 | + ], |
188 | 244 | ], |
189 | 245 | 'tenant' => [ |
190 | 246 | 'navigation_label' => 'Tenants', |
|
255 | 311 | 'active' => 'Active', |
256 | 312 | 'inactive' => 'Inactive', |
257 | 313 | ], |
| 314 | + 'tabs' => [ |
| 315 | + 'all' => 'All', |
| 316 | + 'customers' => 'Customers', |
| 317 | + 'suppliers' => 'Suppliers', |
| 318 | + 'leads' => 'Leads', |
| 319 | + 'with_balance' => 'With Balance', |
| 320 | + ], |
| 321 | + 'infolist' => [ |
| 322 | + 'details' => 'Details', |
| 323 | + 'contact' => 'Contact', |
| 324 | + 'finance' => 'Finance', |
| 325 | + 'open_orders_balance' => 'Open Orders Balance', |
| 326 | + 'open_delivery_balance' => 'Open Delivery Balance', |
| 327 | + ], |
| 328 | + 'actions' => [ |
| 329 | + 'bulk_activate' => 'Activate Selected', |
| 330 | + 'bulk_deactivate' => 'Deactivate Selected', |
| 331 | + ], |
| 332 | + 'widgets' => [ |
| 333 | + 'total' => 'Total Partners', |
| 334 | + 'customers' => 'Customers', |
| 335 | + 'suppliers' => 'Suppliers', |
| 336 | + 'outstanding_balance' => 'Outstanding Balance', |
| 337 | + ], |
| 338 | + 'notifications' => [ |
| 339 | + 'bulk_action_count' => ':count partners updated', |
| 340 | + 'bulk_activate_complete' => 'Partners activated successfully', |
| 341 | + 'bulk_deactivate_complete' => 'Partners deactivated successfully', |
| 342 | + ], |
258 | 343 | ], |
259 | 344 | 'item' => [ |
260 | 345 | 'navigation_label' => 'Items', |
|
295 | 380 | 'inventory_item' => 'Inventory Item', |
296 | 381 | 'has_stock' => 'Has Stock', |
297 | 382 | ], |
| 383 | + 'tabs' => [ |
| 384 | + 'all' => 'All', |
| 385 | + 'active' => 'Active', |
| 386 | + 'in_stock' => 'In Stock', |
| 387 | + 'out_of_stock' => 'Out of Stock', |
| 388 | + 'sales_items' => 'Sales Items', |
| 389 | + ], |
| 390 | + 'infolist' => [ |
| 391 | + 'details' => 'Details', |
| 392 | + 'stock' => 'Stock', |
| 393 | + ], |
| 394 | + 'actions' => [ |
| 395 | + 'bulk_activate' => 'Activate Selected', |
| 396 | + 'bulk_deactivate' => 'Deactivate Selected', |
| 397 | + 'check_stock' => 'Check Stock', |
| 398 | + 'check_stock_title' => 'Stock Information', |
| 399 | + 'warehouse_breakdown' => 'Warehouse Breakdown', |
| 400 | + ], |
| 401 | + 'widgets' => [ |
| 402 | + 'total_items' => 'Total Items', |
| 403 | + 'active_items' => 'Active Items', |
| 404 | + 'zero_stock' => 'Zero Stock', |
| 405 | + ], |
| 406 | + 'notifications' => [ |
| 407 | + 'bulk_action_count' => ':count items updated', |
| 408 | + 'bulk_activate_complete' => 'Items activated successfully', |
| 409 | + 'bulk_deactivate_complete' => 'Items deactivated successfully', |
| 410 | + 'stock_check_failed' => 'Failed to check stock', |
| 411 | + ], |
298 | 412 | ], |
299 | 413 | 'order' => [ |
300 | 414 | 'navigation_label' => 'Sales Orders', |
|
329 | 443 | 'from' => 'From', |
330 | 444 | 'until' => 'Until', |
331 | 445 | ], |
| 446 | + 'tabs' => [ |
| 447 | + 'all' => 'All', |
| 448 | + 'open' => 'Open', |
| 449 | + 'closed' => 'Closed', |
| 450 | + 'this_month' => 'This Month', |
| 451 | + 'overdue' => 'Overdue', |
| 452 | + ], |
| 453 | + 'infolist' => [ |
| 454 | + 'details' => 'Details', |
| 455 | + 'lines' => 'Lines', |
| 456 | + 'item_description' => 'Description', |
| 457 | + 'line_total' => 'Line Total', |
| 458 | + ], |
332 | 459 | 'actions' => [ |
333 | 460 | 'close' => 'Close', |
334 | 461 | 'close_confirm_title' => 'Close Order', |
335 | 462 | 'close_confirm_description' => 'Are you sure you want to close this order? This action cannot be undone.', |
336 | 463 | 'cancel' => 'Cancel', |
337 | 464 | 'cancel_confirm_title' => 'Cancel Order', |
338 | 465 | 'cancel_confirm_description' => 'Are you sure you want to cancel this order? This action cannot be undone.', |
| 466 | + 'bulk_close' => 'Close Selected', |
| 467 | + 'bulk_close_confirm_title' => 'Close Orders', |
| 468 | + 'bulk_close_confirm_description' => 'Are you sure you want to close the selected orders?', |
| 469 | + 'bulk_cancel' => 'Cancel Selected', |
| 470 | + 'bulk_cancel_confirm_title' => 'Cancel Orders', |
| 471 | + 'bulk_cancel_confirm_description' => 'Are you sure you want to cancel the selected orders?', |
| 472 | + 'copy_to_delivery' => 'Copy to Delivery', |
| 473 | + 'copy_to_delivery_confirm_title' => 'Copy to Delivery', |
| 474 | + 'copy_to_delivery_confirm_description' => 'Create a delivery from this order?', |
| 475 | + 'copy_to_invoice' => 'Copy to Invoice', |
| 476 | + 'copy_to_invoice_confirm_title' => 'Copy to Invoice', |
| 477 | + 'copy_to_invoice_confirm_description' => 'Create an invoice from this order?', |
| 478 | + ], |
| 479 | + 'widgets' => [ |
| 480 | + 'total_this_month' => 'Total This Month', |
| 481 | + 'open_orders' => 'Open Orders', |
| 482 | + 'open_value' => 'Open Value', |
| 483 | + 'avg_value' => 'Average Value', |
| 484 | + 'by_status' => 'Orders by Status', |
| 485 | + 'status_open' => 'Open', |
| 486 | + 'status_closed' => 'Closed', |
| 487 | + 'status_cancelled' => 'Cancelled', |
| 488 | + ], |
| 489 | + 'notifications' => [ |
| 490 | + 'bulk_action_count' => ':count orders updated', |
| 491 | + 'bulk_close_complete' => 'Orders closed successfully', |
| 492 | + 'bulk_cancel_complete' => 'Orders cancelled successfully', |
| 493 | + 'delivery_created' => 'Delivery Created', |
| 494 | + 'delivery_created_body' => 'Delivery #:doc_num created from order', |
| 495 | + 'delivery_failed' => 'Failed to create delivery', |
| 496 | + 'invoice_created' => 'Invoice Created', |
| 497 | + 'invoice_created_body' => 'Invoice #:doc_num created from order', |
| 498 | + 'invoice_failed' => 'Failed to create invoice', |
339 | 499 | ], |
340 | 500 | ], |
341 | 501 | 'invoice' => [ |
|
377 | 537 | 'unpaid' => 'Unpaid', |
378 | 538 | 'paid' => 'Paid', |
379 | 539 | ], |
| 540 | + 'tabs' => [ |
| 541 | + 'all' => 'All', |
| 542 | + 'open' => 'Open', |
| 543 | + 'unpaid' => 'Unpaid', |
| 544 | + 'overdue' => 'Overdue', |
| 545 | + 'this_month' => 'This Month', |
| 546 | + ], |
| 547 | + 'infolist' => [ |
| 548 | + 'details' => 'Details', |
| 549 | + 'lines' => 'Lines', |
| 550 | + 'item_description' => 'Description', |
| 551 | + 'line_total' => 'Line Total', |
| 552 | + ], |
380 | 553 | 'actions' => [ |
381 | 554 | 'cancel' => 'Cancel', |
382 | 555 | 'cancel_confirm_title' => 'Cancel Invoice', |
383 | 556 | 'cancel_confirm_description' => 'Are you sure you want to cancel this invoice? This action cannot be undone.', |
| 557 | + 'bulk_cancel' => 'Cancel Selected', |
| 558 | + 'bulk_cancel_confirm_title' => 'Cancel Invoices', |
| 559 | + 'bulk_cancel_confirm_description' => 'Are you sure you want to cancel the selected invoices?', |
| 560 | + 'create_credit_note' => 'Credit Note', |
| 561 | + 'credit_note_confirm_title' => 'Create Credit Note', |
| 562 | + 'credit_note_confirm_description' => 'Create a credit note for this invoice?', |
| 563 | + 'record_payment' => 'Record Payment', |
| 564 | + 'payment_amount' => 'Amount', |
| 565 | + 'payment_method' => 'Payment Method', |
| 566 | + 'account_code' => 'Account Code', |
| 567 | + 'payment_methods' => [ |
| 568 | + 'cash' => 'Cash', |
| 569 | + 'check' => 'Check', |
| 570 | + 'transfer' => 'Bank Transfer', |
| 571 | + ], |
| 572 | + ], |
| 573 | + 'widgets' => [ |
| 574 | + 'total_this_month' => 'Total This Month', |
| 575 | + 'total_revenue' => 'Total Revenue', |
| 576 | + 'outstanding' => 'Outstanding', |
| 577 | + 'overdue' => 'Overdue', |
| 578 | + 'aging_chart' => 'Aging Chart', |
| 579 | + 'aging_current' => 'Current', |
| 580 | + ], |
| 581 | + 'notifications' => [ |
| 582 | + 'bulk_action_count' => ':count invoices updated', |
| 583 | + 'bulk_cancel_complete' => 'Invoices cancelled successfully', |
| 584 | + 'payment_recorded' => 'Payment Recorded', |
| 585 | + 'payment_recorded_body' => 'Payment of :amount recorded for invoice #:doc_num', |
| 586 | + 'payment_failed' => 'Failed to record payment', |
| 587 | + 'credit_note_created' => 'Credit Note Created', |
| 588 | + 'credit_note_created_body' => 'Credit note created successfully', |
| 589 | + 'credit_note_failed' => 'Failed to create credit note', |
384 | 590 | ], |
385 | 591 | ], |
386 | 592 | ], |
|
0 commit comments