JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbrfirst(); return $account; } public static function payee($payee) { $payee = Payees::where('id','=',$payee)->first(); return $payee; } public function expense_category($category) { $category = ExpenseType::where('id', '=', $category)->first(); return $category; } public function payment_type($payment) { $payment = PaymentType::where('id','=',$payment)->first(); return $payment; } public function accounts() { return $this->hasOne('App\Models\AccountList', 'id', 'account_id'); } public function payees() { return $this->hasOne('App\Models\Payees', 'id', 'payee_id'); } public function employee_payees() { return $this->hasOne('App\Models\Employee', 'id', 'payee_id'); } public function expense_categorys() { return $this->hasOne('App\Models\ExpenseType', 'id', 'expense_category_id'); } public function payment_types() { return $this->hasOne('App\Models\PaymentType', 'id', 'payment_type_id'); } }