class EmployeeBankAccount extends Model
{
protected $table='sys_employee_bank_accounts';
protected $fillable=['emp_id','bank_name','branch_name','account_name','account_number','ifsc_code','pan_no'];
public function employee()
{
return $this->belongsTo('App\Employee');
}
}
class Employee extends Model
{
protected $table = 'sys_employee';
/* designation Function Start Here */
public function designation_name()
{
return $this->hasOne('App\Designation','id','designation');
}
/* department Function Start Here */
public function department_name()
{
return $this->hasOne('App\Department','id','department');
}
}
$csvpayroll=EmployeeBankAccount::with('employee')->get();
Jan 29, 2017
168
Level 1
Level 3
test
Level 5
@CLICK - how to do this ? how to use this picture ?
Level 3
test
Level 1
@GETVMA - ``` hello world
Level 1
codes goes
Level 1
test
code test
Level 6
When you are writing any reply, the reply popup has a little message at the bottom left of the screen which says "Use Markdown with GitHub-flavored code blocks." .... and the "GitHub-flavored" is a hyperlink.
If you click that it shows you the correct backticks, so you can copy them and paste them back into your reply.
I always do that so that I don't use the wrong thing ... and I also don't have to remember what to use.
Level 4
my code .sorry all Just testing
Level 3
''' test
Level 1
hello world
Level 1
kjkljklj
Level 2
yeah that's a test..
Level 1
test bold italic
Level 1
test
test
Level 1
Test
Level 3
echo "Did this work?";
Level 5
test
Level 5
echo 'hello'
Level 1
This is working nice @snapey
Level 1
``` Just testing guys
Level 2
``fff``
Level 1
echo "test";
Level 3
echo 'testing';
Level 2
test
Level 1
test
Level 1
test
Level 18
Level 18
test 2
Level 18
Test
Level 18
Code block
Please or to participate in this conversation.