remove accounting tasks from auto generated tasks temporarily until ready

This commit is contained in:
Omair Saleh
2023-06-11 18:27:19 +08:00
parent db92db6cec
commit 9c0d481693
@@ -18,12 +18,12 @@ class TransactionToPerfexCRMProcessorV2
{
public function execute(Transaction $model, int $status)
{
Log::info('Called');
try {
if($model->owner instanceof \App\Models\Booking) {
$bookingInfo = $this->extractBookingInfo($model);
$projectName = 'Exchange | ' . $bookingInfo['serviceTypeName'] . ' | ' . $bookingInfo['bookingMarking'];
$tasks = $this->defineTasks($model, $status);
Log::info(json_encode($tasks));
if(count($tasks) > 0) {
$updatePerfexCRMObject = new UpdatePerfexCRMObject(