update
This commit is contained in:
parent
ccaa5821a4
commit
44e6202980
@ -164,7 +164,7 @@
|
|||||||
*/
|
*/
|
||||||
public static function delete(array $params): bool
|
public static function delete(array $params): bool
|
||||||
{
|
{
|
||||||
$detail = FinancialTravelReimbursementDetail::where('expense_reimbursement_id', 'in', $params['id'])->findOrEmpty();
|
$detail = FinancialTravelReimbursementDetail::where('travel_reimbursement_id', 'in', $params['id'])->findOrEmpty();
|
||||||
if (!$detail->isEmpty()) {
|
if (!$detail->isEmpty()) {
|
||||||
self::setError('此数据关联了报销明细信息,需删除报销明细信息');
|
self::setError('此数据关联了报销明细信息,需删除报销明细信息');
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user