mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
add activity events for purchase orders
This commit is contained in:
parent
f85efed650
commit
49fedd9828
@ -109,6 +109,14 @@ class Activity extends StaticModel
|
||||
const DELETE_RECURRING_EXPENSE = 123;
|
||||
const RESTORE_RECURRING_EXPENSE = 124;
|
||||
|
||||
const CREATE_PURCHASE_ORDER = 130;
|
||||
const UPDATE_PURCHASE_ORDER = 131;
|
||||
const ARCHIVE_PURCHASE_ORDER = 132;
|
||||
const DELETE_PURCHASE_ORDER = 133;
|
||||
const RESTORE_PURCHASE_ORDER = 134;
|
||||
const EMAIL_PURCHASE_ORDER = 135;
|
||||
const VIEW_PURCHASE_ORDER = 136;
|
||||
|
||||
protected $casts = [
|
||||
'is_system' => 'boolean',
|
||||
'updated_at' => 'timestamp',
|
||||
|
@ -4612,6 +4612,14 @@ $LANG = array(
|
||||
'purchase_order_number_short' => 'Purchase Order #',
|
||||
'inventory_notification_subject' => 'Inventory threshold notification for product: :product',
|
||||
'inventory_notification_body' => 'Threshold of :amount has been reach for product: :product',
|
||||
'activity_130' => ':user created purchase order :purchase_order',
|
||||
'activity_131' => ':user updated purchase order :purchase_order',
|
||||
'activity_132' => ':user archived purchase order :purchase_order',
|
||||
'activity_133' => ':user deleted purchase order :purchase_order',
|
||||
'activity_134' => ':user restored purchase order :purchase_order',
|
||||
'activity_135' => ':user emailed purchase order :purchase_order',
|
||||
'activity_136' => ':contact viewed purchase order :purchase_order',
|
||||
|
||||
);
|
||||
|
||||
return $LANG;
|
||||
|
Loading…
x
Reference in New Issue
Block a user