<?php 
$lang->history2 = 'Action History';

$lang->action->objectTypes['commission']         = 'Commission';
$lang->action->objectTypes['effort']             = 'Effort';
$lang->action->objectTypes['feedback']           = 'Aftersales';
$lang->action->objectTypes['invoice']            = 'Invoice';
$lang->action->objectTypes['receivable']         = 'Receivable';
$lang->action->objectTypes['payable']            = 'Payable';
$lang->action->objectTypes['psiorder']           = 'PSI Order';

$lang->action->label->commission         = 'Commission|commission|browse|';
$lang->action->label->effort             = 'Effort|effort|view|effortID=%s';
$lang->action->label->feedback           = 'Aftersales|feedback|view|issueID=%s';
$lang->action->label->invoice            = 'Invoice|invoice|view|invoiceID=%s';
$lang->action->label->receivable         = 'Receivable|receivable|view|moduleID=%s';
$lang->action->label->payable            = 'Payable|payable|view|moduleID=%s';
$lang->action->label->psiorder           = 'PSI Order|order|detail|orderID=%s';

/* Leads sync. */
$lang->action->desc->site_open            = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
$lang->action->desc->site_renew           = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
$lang->action->desc->site_free2charged    = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
$lang->action->desc->site_charged2charged = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
                                                                                                            
$lang->action->desc->order_score          = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
$lang->action->desc->order_license        = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
$lang->action->desc->order_theme          = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
                                                                                                            
$lang->action->desc->extension_demo       = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
$lang->action->desc->extension_year       = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
$lang->action->desc->extension_life       = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
                                                                                                            
$lang->action->desc->thread_post          = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
$lang->action->desc->thread_reply         = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
                                                                                                            
$lang->action->desc->message_message      = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
$lang->action->desc->message_comment      = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
$lang->action->desc->message_reply        = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
                                                                                                            
$lang->action->desc->ask_question         = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
$lang->action->desc->ask_answer           = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
                                                                                                            
$lang->action->desc->other_usercase       = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";
$lang->action->desc->other_donation       = '$date, <strong>$actor</strong> $extra in <strong>$origin</strong>.' . "\n";

$lang->action->desc->lastlogin            = '$date, <strong>$actor</strong> login <strong>$origin</strong>.' . "\n";
$lang->action->desc->sync                 = '$date, synchronized by <strong>$actor</strong>.' . "\n";

/* Effort */
$lang->action->desc->recordestimate       = '$date, effort logged by <strong>$actor</strong> and it cost <strong>$extra</strong> hours.';

/* Expense */
$lang->action->desc->createorderexpense    = '$date, <strong>$actor</strong> created an expense for Order: <strong>$extra</strong>.' . "\n";
$lang->action->desc->createcontractexpense = '$date, <strong>$actor</strong> created an expense for Contract: <strong>$extra</strong>.' . "\n";
$lang->action->desc->createcustomerexpense = '$date, <strong>$actor</strong> created an expense for Client: <strong>$extra</strong>.' . "\n";

/* Feedback. */
$lang->action->desc->replied              = '$date, replied by <strong>$actor</strong>.' . "\n";
$lang->action->desc->doubted              = '$date, doubted by <strong>$actor</strong>.' . "\n";
$lang->action->desc->createfeedback       = '$date, <strong>$actor</strong> created an Aftersales ticket: <strong>$extra</strong>.' . "\n";
$lang->action->desc->editfeedback         = '$date, <strong>$actor</strong> edited an Aftersales ticket: <strong>$extra</strong>.' . "\n";

/* Invoice. */
$lang->action->desc->createdinvoice    = '$date, <strong>$actor</strong> applied for an Invoice: <strong>$extra</strong>.' . "\n";
$lang->action->desc->drawninvoice      = '$date, <strong>$actor</strong> invoiced: <strong>$extra</strong>.' . "\n";
$lang->action->desc->expressedinvoice  = '$date, <strong>$actor</strong> sent Invoice: <strong>$extra</strong>.' . "\n";
$lang->action->desc->sentinvoice       = '$date, <strong>$actor</strong> sent the invoice by Express: <strong> $extra </strong>.';
$lang->action->desc->canceledinvoice   = '$date, the invoice is cancelled by <strong>$actor</strong>.' . "\n";
$lang->action->desc->deletedinvoice    = '$date, the invoice is deleted by<strong>$actor</strong>.';
$lang->action->desc->redinvoice        = '$date, the invoice is deficited by <strong>$actor</strong>.' . "\n";
$lang->action->desc->createinvoiceinfo = '$date, taxation information added by <strong>$actor</strong> : <strong> $extra </strong>.';
$lang->action->desc->editinvoiceinfo   = '$date, taxation information edited by <strong>$actor</strong> : <strong> $extra </strong>.';
$lang->action->desc->deleteinvoiceinfo = '$date, taxation information deleted by <strong>$actor</strong> : <strong> $extra </strong>.';

/* PSI */
$lang->action->desc->sendmail              = '$date, <strong>$actor</strong> sent an email notification.'; 
$lang->action->desc->assignedtopick        = '$date, <strong>$actor</strong> assigned to <strong>$extra</strong> to distribute products of <strong>$batch</strong>.'; 
$lang->action->desc->assignedtopurchase    = '$date, <strong>$actor</strong> notified <strong>$extra</strong> to purchase products.'; 
$lang->action->desc->editedpick            = '$date, <strong>$actor</strong> edited the distribution infomation of <strong>$extra</strong>.';
$lang->action->desc->editeddeliver         = '$date, <strong>$actor</strong> edited the delivery infomation of <strong>$extra</strong>.';
$lang->action->desc->editedreceive         = '$date, <strong>$actor</strong> edited the receiving infomation of <strong>$extra</strong>.'; 
$lang->action->desc->picked                = '$date, distributed by <strong>$actor</strong>.';
$lang->action->desc->deliver               = '$date, delivered by <strong>$actor</strong>.';
$lang->action->desc->received              = '$date, received by <strong>$actor</strong>.';
$lang->action->desc->createquotation       = '$date, <strong>$actor</strong> created a Quotation <strong>$extra</strong>。';
$lang->action->desc->editquotation         = '$date, <strong>$actor</strong> edited a Quotation <strong>$extra</strong>。';
$lang->action->desc->createorderproduct    = '$date, <strong>$actor</strong> created a Product <strong>$extra</strong>。';
$lang->action->desc->editorderproduct      = '$date, <strong>$actor</strong> edited a Product <strong>$extra</strong>。';
$lang->action->desc->deleteorderproduct    = '$date, <strong>$actor</strong> deleted a Product <strong>$extra</strong>。';
$lang->action->desc->editproductinpick     = '$date, <strong>$actor</strong> edited the quantity of <strong>$extra</strong> to be distributed.';
$lang->action->desc->editproductinrecive   = '$date, <strong>$actor</strong> edited the quantity of <strong>$extra</strong> to be received.';

/* Receivables & Payables. */
$lang->action->desc->tradein  = '$date, <strong>$actor</strong> received: <strong>$extra</strong>.' . "\n";
$lang->action->desc->tradeout = '$date, <strong>$actor</strong> paid: <strong>$extra</strong>.' . "\n";

/* Salary. */
$lang->action->desc->confirmed           = '$date, confirmed by <strong>$actor</strong>.' . "\n";
$lang->action->desc->createdbycommission = '$date, created by <strong>$actor</strong>, reson <strong>$extra</strong>.' . "\n";

/* Trade */
$lang->action->desc->createcommission = '$date, set commission by <strong>$actor</strong>.' . "\n";
$lang->action->desc->resetcommission  = '$date, reset commission by <strong>$actor</strong>.' . "\n";

$lang->action->label->confirmed             = 'confirmed';
$lang->action->label->recordestimate        = 'logged an effort';
$lang->action->label->userdefined           = 'executed a custom action';
$lang->action->label->replied               = 'replied';
$lang->action->label->doubted               = 'doubted';
$lang->action->label->createfeedback        = 'created a ticket';
$lang->action->label->editfeedback          = 'edited a ticket';
$lang->action->label->createorderexpense    = 'created an expense for order';
$lang->action->label->createcontractexpense = 'created an expense for contract';
$lang->action->label->createcustomerexpense = 'created an expense for customer';
$lang->action->label->tradein               = 'received';
$lang->action->label->tradeout              = 'paid';
$lang->action->label->sendmail              = 'sent an email notification'; 
$lang->action->label->assignedtopick        = 'assigned to distribute'; 
$lang->action->label->assignedtopurchase    = 'assigend to purchase'; 
$lang->action->label->editedpick            = 'edited distribution info';
$lang->action->label->editeddeliver         = 'edited delivery info';
$lang->action->label->editedreceive         = 'edited receiving info'; 
$lang->action->label->picked                = 'distributed';
$lang->action->label->deliver               = 'delivered';
$lang->action->label->received              = 'received';
$lang->action->label->createquotation       = 'created a quotation';
$lang->action->label->editquotation         = 'edited a quotation';
$lang->action->label->createorderproduct    = 'created a product';
$lang->action->label->editorderproduct      = 'edited a product';
$lang->action->label->deleteorderproduct    = 'deleted a product';
$lang->action->label->editproductinpick     = 'edited the quantity of products to be distributed';
$lang->action->label->editproductinrecive   = 'edited the quantity of products to be received';
$lang->action->label->createcommission      = 'set commission';
$lang->action->label->resetcommission       = 'reset commission';
$lang->action->label->createdbycommission   = 'created';

$lang->action->search->label['confirmed']             = $lang->action->label->confirmed;             
$lang->action->search->label['recordestimate']        = $lang->action->label->recordestimate;        
$lang->action->search->label['userdefined']           = $lang->action->label->userdefined;           
$lang->action->search->label['replied']               = $lang->action->label->replied;               
$lang->action->search->label['doubted']               = $lang->action->label->doubted;               
$lang->action->search->label['createfeedback']        = $lang->action->label->createfeedback;        
$lang->action->search->label['editfeedback']          = $lang->action->label->editfeedback;          
$lang->action->search->label['createorderexpense']    = $lang->action->label->createorderexpense;    
$lang->action->search->label['createcontractexpense'] = $lang->action->label->createcontractexpense; 
$lang->action->search->label['createcustomerexpense'] = $lang->action->label->createcustomerexpense; 
$lang->action->search->label['tradein']               = $lang->action->label->tradein;               
$lang->action->search->label['tradeout']              = $lang->action->label->tradeout;              
$lang->action->search->label['sendmail']              = $lang->action->label->sendmail;              
$lang->action->search->label['assignedtopick']        = $lang->action->label->assignedtopick;        
$lang->action->search->label['assignedtopurchase']    = $lang->action->label->assignedtopurchase;    
$lang->action->search->label['editedpick']            = $lang->action->label->editedpick;            
$lang->action->search->label['editeddeliver']         = $lang->action->label->editeddeliver;         
$lang->action->search->label['editedreceive']         = $lang->action->label->editedreceive;         
$lang->action->search->label['picked']                = $lang->action->label->picked;                
$lang->action->search->label['deliver']               = $lang->action->label->deliver;               
$lang->action->search->label['received']              = $lang->action->label->received;              
$lang->action->search->label['createquotation']       = $lang->action->label->createquotation;    
$lang->action->search->label['editquotation']         = $lang->action->label->editquotation;    
$lang->action->search->label['createorderproduct']    = $lang->action->label->createorderproduct;    
$lang->action->search->label['editorderproduct']      = $lang->action->label->editorderproduct;      
$lang->action->search->label['deleteorderproduct']    = $lang->action->label->deleteorderproduct;    
$lang->action->search->label['editproductinpick']     = $lang->action->label->editproductinpick;     
$lang->action->search->label['editproductinrecive']   = $lang->action->label->editproductinrecive;   
$lang->action->search->label['createcommission']      = $lang->action->label->createcommission;   
$lang->action->search->label['resetcommission']       = $lang->action->label->resetcommission;   
$lang->action->search->label['createdbycommission']   = $lang->action->label->createdbycommission;   
