17 lines
610 B
PHP
17 lines
610 B
PHP
<?php
|
|
defined('BASEPATH') OR exit('No direct script access allowed');
|
|
|
|
/**
|
|
* Alias kompatibilitas. Seluruh proses Aset Tetap sekarang hanya dikelola
|
|
* Fixedassets agar tidak ada dua implementasi stok/jurnal yang berbeda.
|
|
*/
|
|
class Asset extends MY_Controller
|
|
{
|
|
public function index(){ redirect('fixedassets', 'location', 301); }
|
|
public function __call($method,$arguments)
|
|
{
|
|
if(strtoupper($this->input->method())==='GET') redirect('fixedassets', 'location', 302);
|
|
return json_response(false,'Endpoint Aset lama sudah dinonaktifkan. Gunakan menu Aset Tetap.',array(),410);
|
|
}
|
|
}
|