108 lines
5.5 KiB
PHP

<?php
namespace App\Models\Business;
class SwActual extends BusinessModel
{
protected $table = 'biz_sw_actual';
protected $casts = [
'provided_revenue' => 'decimal:2',
'declared_revenue' => 'decimal:2',
'goods_special_amount' => 'decimal:2',
'goods_special_tax' => 'decimal:2',
'goods_normal_amount' => 'decimal:2',
'goods_normal_tax' => 'decimal:2',
'goods_unbilled_amount' => 'decimal:2',
'goods_unbilled_tax' => 'decimal:2',
'goods_subtotal_amount' => 'decimal:2',
'goods_subtotal_tax' => 'decimal:2',
'service_special_amount' => 'decimal:2',
'service_special_tax' => 'decimal:2',
'service_normal_amount' => 'decimal:2',
'service_normal_tax' => 'decimal:2',
'service_unbilled_amount' => 'decimal:2',
'service_unbilled_tax' => 'decimal:2',
'service_subtotal_amount' => 'decimal:2',
'service_subtotal_tax' => 'decimal:2',
'total_revenue' => 'decimal:2',
'total_tax' => 'decimal:2',
'input_goods_amount' => 'decimal:2',
'input_goods_tax' => 'decimal:2',
'input_service_amount' => 'decimal:2',
'input_service_tax' => 'decimal:2',
'input_other_amount' => 'decimal:2',
'input_other_tax' => 'decimal:2',
'input_subtotal_amount' => 'decimal:2',
'input_subtotal_tax' => 'decimal:2',
'extra_credit' => 'decimal:2',
'retained_credit' => 'decimal:2',
'vat_payable' => 'decimal:2',
'city_tax' => 'decimal:2',
'education_surcharge' => 'decimal:2',
'local_education_surcharge' => 'decimal:2',
'stamp_tax' => 'decimal:2',
'union_fee' => 'decimal:2',
'individual_tax' => 'decimal:2',
'income_tax' => 'decimal:2',
'garbage_fee' => 'decimal:2',
'other_penalty' => 'decimal:2',
'total_tax_paid' => 'decimal:2',
'tax_burden_rate' => 'decimal:4',
];
public static function columnLabels(): array
{
return [
'region' => '区域',
'company_type' => '公司类型',
'contact_person' => '对接人',
'bookkeeping_company' => '代账公司',
'period' => '期间',
'company_name' => '公司名称',
'provided_revenue' => '提供业绩',
'declared_revenue' => '实际申报业绩',
'goods_special_amount' => '商品专票金额',
'goods_special_tax' => '商品专票税额',
'goods_normal_amount' => '商品普票金额',
'goods_normal_tax' => '商品普票税额',
'goods_unbilled_amount' => '商品未开票金额',
'goods_unbilled_tax' => '商品未开票税额',
'goods_subtotal_amount' => '商品收入小计',
'goods_subtotal_tax' => '商品税金小计',
'service_special_amount' => '服务专票金额',
'service_special_tax' => '服务专票税额',
'service_normal_amount' => '服务普票金额',
'service_normal_tax' => '服务普票税额',
'service_unbilled_amount' => '服务未开票金额',
'service_unbilled_tax' => '服务未开票税额',
'service_subtotal_amount' => '服务收入小计',
'service_subtotal_tax' => '服务税金小计',
'total_revenue' => '合计收入',
'total_tax' => '合计税金',
'input_goods_amount' => '进项商品金额',
'input_goods_tax' => '进项商品税额',
'input_service_amount' => '进项服务费金额',
'input_service_tax' => '进项服务费税额',
'input_other_amount' => '进项其他金额',
'input_other_tax' => '进项其他税额',
'input_subtotal_amount' => '进项金额合计',
'input_subtotal_tax' => '进项税额合计',
'extra_credit' => '加计抵减',
'retained_credit' => '留抵税金',
'vat_payable' => '本月应交增值税',
'city_tax' => '城建税金',
'education_surcharge' => '教育费附加',
'local_education_surcharge' => '地方教育费附加',
'stamp_tax' => '印花税',
'union_fee' => '工会经费',
'individual_tax' => '个税',
'income_tax' => '所得税',
'garbage_fee' => '垃圾处理费',
'other_penalty' => '其他(滞纳金)',
'total_tax_paid' => '税金合计',
'tax_burden_rate' => '税负',
];
}
}