-
-
Save azhar25git/f57087d6110de54c45f30af4cab9973d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class CustomerAddress extends Model { | |
protected function setKeysForSaveQuery(Builder $query) | |
{ | |
$query | |
->where('Customer_No', '=', $this->getAttribute('Customer_No')) | |
->where('Address_Name', '=', $this->getAttribute('Address_Name')); | |
return $query; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment