Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Model->getAuditMessage(){
EBSLoanPK
CasePK
ProductSubTypePK
LoanReference
PaymentReference
NextStageDue
AdvisorPK
StagePK
MortgageSourcePK
LoanAmount
GrossLoanAmount
DrawnDownAmount
EarliestDrawdownDate
PurposeOfLoanPK
LoanUse
DateAbandon
AbandonText
}
$arrAuditMessage = Model->getAuditMessage();
\Helper\Alfi\Product:create
{
"class": "JLGAudit\\Message\\Common_Message_Audit",
"TimeStamp": 1544606276,
"EmailAddress": "c3e82@example.com",
"Application": "AlfiCRM",
"ActionPerformed": "Product",
"SubActionPerformed": "Create",
"DataChanged": "{
"DataAfterCreating": "{
"EBSLoanPK" : $arrAuditMessage["EBSLoanPK"],
"CasePK" : $arrAuditMessage["CasePK"],
"ProductSubTypePK" : $arrAuditMessage["ProductSubTypePK"],
"LoanReference" : $arrAuditMessage["LoanReference"],
"PaymentReference" : $arrAuditMessage["PaymentReference"],
"NextStageDue" : $arrAuditMessage["NextStageDue"],
"AdvisorPK" : $arrAuditMessage["AdvisorPK"],
"StagePK" : $arrAuditMessage["StagePK"],
"MortgageSourcePK" : $arrAuditMessage["MortgageSourcePK"],
"LoanAmount" : $arrAuditMessage["LoanAmount"]
}"
}",
"Message": "Product {ProductRef} created and added to Case {CaseReference}"
}
\crm_CaseController::productAction_DELETE
{
"class": "JLGAudit\\Message\\Common_Message_Audit",
"TimeStamp": 1544606276,
"EmailAddress": "c3e82@example.com",
"Application": "AlfiCRM",
"ActionPerformed": "Product",
"SubActionPerformed": "Delete",
"DataChanged": "{
"DataBeforeDeleting" : Model->getAuditMessage
}",
"Message": "Product {ProductRef} deleted form case {CaseReference}"
}
\crm_CaseController::productAction_DELETE
{
"class": "JLGAudit\\Message\\Common_Message_Audit",
"TimeStamp": 1544606276,
"EmailAddress": "c3e82@example.com",
"Application": "AlfiCRM",
"ActionPerformed": "Product",
"SubActionPerformed": "Delete",
"DataChanged": "{
"DataBeforeDeleting" : Model->getAuditMessage
}",
"Message": "Product {ProductRef} deleted form case {CaseReference}"
}
\crm_CaseController::productAction_PUT
{
"class": "JLGAudit\\Message\\Common_Message_Audit",
"TimeStamp": 1544606276,
"EmailAddress": "c3e82@example.com",
"Application": "AlfiCRM",
"ActionPerformed": "Product",
"SubActionPerformed": "Update",
"DataChanged": "{
"DataBeforeUpdating" : Model->getAuditMessage,
"DataAfterUpdating" : Model->getAuditMessage
}",
"Message": "Product {ProductRef} updated on case {CaseReference}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.