douzhi3776 2015-12-09 01:21
浏览 19

订阅税未显示为Laravel Cashier的PDF发票中的行项目

When creating new subscriptions for users, I now include a tax_percent every time a new one is created. The charge amount is right and everything looks good on the Stripe end. However, when downloading the PDF of the invoice through Laravel Cashier, the GST is not showing up as a line item.

I'm looking at the receipt.blade.php file and there is no indication that it is even currently doing this. The only thing I see where it might possibly be able to display the tax is here:

<!-- Display The Invoice Items -->
@foreach ($invoice->invoiceItems() as $item)
    <tr>
        <td colspan="2">{{ $item->description }}</td>
        <td>{{ $item->dollars() }}</td>
    </tr>
@endforeach

However, the $invoice->invoiceItems() array seems to be empty. Any ideas as to why would be much appreciated.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 划分vlan后不通了
    • ¥15 GDI处理通道视频时总是带有白色锯齿
    • ¥20 用雷电模拟器安装百达屋apk一直闪退
    • ¥15 算能科技20240506咨询(拒绝大模型回答)
    • ¥15 自适应 AR 模型 参数估计Matlab程序
    • ¥100 角动量包络面如何用MATLAB绘制
    • ¥15 merge函数占用内存过大
    • ¥15 使用EMD去噪处理RML2016数据集时候的原理
    • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
    • ¥15 单片机无法进入HAL_TIM_PWM_PulseFinishedCallback回调函数