api for customer online update
This commit is contained in:
+46
-4
@@ -7,15 +7,57 @@ use Illuminate\Database\Eloquent\Model;
|
||||
class Customer extends Model
|
||||
{
|
||||
protected $table = 'customer';
|
||||
|
||||
public $timestamps = false;
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
// protected $fillable = [
|
||||
|
||||
// ];
|
||||
protected $fillable = [
|
||||
'ahli',
|
||||
'kodcaw',
|
||||
'nosiri',
|
||||
'tarikhdaftar',
|
||||
'nopelanggan',
|
||||
'kplama',
|
||||
'kpbaru',
|
||||
'nama',
|
||||
't_lahir',
|
||||
'jantina',
|
||||
'alamat1',
|
||||
'alamat2',
|
||||
'alamat3',
|
||||
'alamat4',
|
||||
'poskod',
|
||||
'koddaerah',
|
||||
'kodnegeri',
|
||||
'telefon',
|
||||
'jumpinjaman',
|
||||
't_gadai',
|
||||
'pinjamhari',
|
||||
'bumiputra',
|
||||
'warganegara',
|
||||
'bangsa',
|
||||
'kodkerja',
|
||||
'kodugama',
|
||||
'kodstatus',
|
||||
'kodbank',
|
||||
'noakaun',
|
||||
'nota' ,
|
||||
'teller',
|
||||
'pelulus',
|
||||
't_ubah',
|
||||
'm_ubah',
|
||||
'aktif',
|
||||
'yuranahli',
|
||||
'tujuangadai',
|
||||
'kodkerjabaru',
|
||||
'nopelangganlama',
|
||||
'tagperingatan',
|
||||
'kumpulan',
|
||||
'telefon2',
|
||||
'tagpelanggan'
|
||||
];
|
||||
|
||||
/**
|
||||
* The attributes excluded from the model's JSON form.
|
||||
|
||||
Reference in New Issue
Block a user