new ReportJob( $job->id, $job->number, $job->name, $job->customerId, $job->customerName, $job->isInternal, $job->status->value, $job->paymentBasis?->value, ! $job->isInternal && $job->paymentBasis !== PaymentBasis::NotBillable, ! $job->isInternal && in_array($job->paymentBasis, [null, PaymentBasis::Hourly, PaymentBasis::PriceList], true), $job->quotedAmountCents, $job->serviceUnitIds, ), $this->jobs->reportInfoOf($ids)); } }