This commit is contained in:
mkm 2024-01-15 09:30:56 +08:00
parent 627445edda
commit c5ef626337
2 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,7 @@ class ProjectEstimate extends BaseModel
public function getInvoiceTypeTextAttr($value,$data)
{
$dictData = DictData::where('type_value','invoice_type')->column('name','value');
$dictData[0]='';
return $dictData[$data['invoice_type']];
}

View File

@ -38,6 +38,7 @@ class Quotation extends BaseModel
public function getInvoiceTypeTextAttr($value,$data){
$dictData = DictData::where('type_value','invoice_type')->column('name','value');
$dictData[0]='';
return $dictData[$data['invoice_type']];
}