'decimal:2', 'status_bayar' => 'boolean', 'tanggal_pembayaran' => 'date', 'nominal_penyelesaian' => 'decimal:2', 'status_penyelesaiaan' => 'boolean', 'tanggal_penyelesaian' => 'date', 'status' => 'boolean', 'authorized_status' => 'boolean', 'authorized_at' => 'datetime', ]; // Relationship with Permohonan public function permohonan() { return $this->belongsTo(Permohonan::class, 'permohonan_id'); } // Relationship with PersetujuanPenawaran public function persetujuanPenawaran() { return $this->belongsTo(PersetujuanPenawaran::class, 'persetujuan_penawaran_id'); } // Relationship with User (for authorized_by) public function authorizedBy() { return $this->belongsTo(User::class, 'authorized_by'); } }