Post by I Wayan Arthana » Tue Apr 02, 2019 1:28 am

Mohon bantuannya para Master OC, saya ingin merubah Invoice Prefix di OpenCart.
Saya menemukan script di baris ke 515 :
admin/controller/setting/setting.php
yang berisi pengaturan dan tata letak Invoice Prefix.
sbb:

if (isset($this->request->post['config_invoice_prefix'])) {
$data['config_invoice_prefix'] = $this->request->post['config_invoice_prefix'];
} elseif ($this->config->get('config_invoice_prefix')) {
$data['config_invoice_prefix'] = $this->config->get('config_invoice_prefix');
} else {
$data['config_invoice_prefix'] = 'INV-' . date('Y') . '-00';
}

Mohon pencerahannya Master, terima kasih sebelumnya :)


Posts

Joined
Fri Aug 17, 2018 12:24 pm
Who is online

Users browsing this forum: No registered users and 13 guests