access changed for files in my new laptop on Kali
This commit is contained in:
parent
6054438d59
commit
d3e513b9bf
|
|
@ -34,8 +34,6 @@ public function account(Request $request){
|
||||||
|
|
||||||
$account = Account::with('profile')->find($request->user()->account_id);
|
$account = Account::with('profile')->find($request->user()->account_id);
|
||||||
|
|
||||||
//return $account;
|
|
||||||
|
|
||||||
if(!empty($account)){
|
if(!empty($account)){
|
||||||
return AccountResource::make($account);
|
return AccountResource::make($account);
|
||||||
}
|
}
|
||||||
|
|
@ -55,5 +53,6 @@ public function storeBankAccount(BankAccountRequest $request){
|
||||||
|
|
||||||
public function storeProfile(){
|
public function storeProfile(){
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,12 @@ public function authorize()
|
||||||
public function rules()
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
//
|
'account_number' => 'required',
|
||||||
|
'account_date' => 'required',
|
||||||
|
'currency' => 'required',
|
||||||
|
'iban' => 'required',
|
||||||
|
'bank_name' => 'required',
|
||||||
|
'country' => 'required'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,9 @@ public function authorize()
|
||||||
public function rules()
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
//
|
'address' => 'required',
|
||||||
|
'phone' => 'required',
|
||||||
|
'email' => 'required'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue