Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $rfq = RequestForQuote::find('5e5a12b9ac67be605d70bb82');
- error_log('************* REQUESTOFRQUOTE *********');
- error_log($rfq->toJson(JSON_PRETTY_PRINT));
- foreach($rfq->vendor_request_for_quotes as $region) {
- error_log('**************** VENDORREQUEST_FOR_QUOTES ******************');
- error_log($region->toJson(JSON_PRETTY_PRINT));
- foreach($region->response_to_quotes as $response ) {
- error_log('************************** RESPONSE_TO_QUOTE ******************');
- error_log($response->toJson(JSON_PRETTY_PRINT));
- foreach($response->response_to_quote_regions as $res_region) {
- error_log('***************** RESPONSE_TO_QUOTE_REGION');
- error_log($res_region->toJson(JSON_PRETTY_PRINT));
- foreach($res_region->response_to_quote_items as $sub_item) {
- error_log('****************** RESPONSE_TO_QUOTE_ITEMS');
- error_log($sub_item->toJson(JSON_PRETTY_PRINT));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement