Dumped Contents
In
ParcelTransactions.php
line 105:
'footer' => $footerTotals
];
dump($footerTotals);
// $data = $serializer->serialize($data,'json', $context);
array:1 [
0 => App\Entity\Transaction {#995
-id: null
-wayBill: App\Entity\WayBill {#999
-id: null
-senderName: null
-senderPhoneNumber: null
-receiverName: null
-receiverPhoneNumber: "Total"
-fromStation: App\Entity\Station {#1001
-id: null
-stationName: null
-stationAddress: null
-phone_numbers: null
-organization: null
-createdAt: null
-operatingHrs: null
-createdBy: null
-isMobile: null
-isActive: null
}
-toStation: App\Entity\Station {#1002
-id: null
-stationName: null
-stationAddress: null
-phone_numbers: null
-organization: null
-createdAt: null
-operatingHrs: null
-createdBy: null
-isMobile: null
-isActive: null
}
-createdAt: null
-createdBy: null
-transaction: null
-parcels: Doctrine\Common\Collections\ArrayCollection {#1000
-elements: []
}
-isCollected: null
-isReceived: null
-receivedBy: null
-organization: null
-collectedParcel: null
-receivedAt: null
-percelCount: "25"
-longitude: null
-latitude: null
-parcelValue: null
}
-amount: "5,100"
-cashAmount: null
-mpesaAmount: null
-taxPercentage: null
-taxAmount: "703"
-grossAmount: null
-stationExpenses: "0"
-stationBalance: null
-expenses: null
-wayBillExpenses: null
-balance: "4,469"
-createdAt: null
-createdBy: null
-organization: null
-dailyAccount: App\Entity\DailyAccount {#1003
-id: null
-expensesDetails: null
-drawerCash: null
-accountDate: null
-user: null
-stationDailyAccount: null
-isClosed: null
-closedBy: null
-createdAt: null
}
-isCancelled: null
-isComplete: null
-isPaid: null
-paid_by: null
-mpesaPaymentPhone: null
-paymentMethod: null
-pinNumber: null
-cuInvoiceNumber: null
-cuInvoiceNumberCredit: null
-cuSerialNumber: null
-isFinal: null
}
]