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

Post by anung » Fri Jul 05, 2019 1:30 am

Bisa disetting dari halaman admin mas bro. Coba otak-atik disana.

User avatar
Active Member

Posts

Joined
Fri Mar 30, 2012 10:32 am
Location - Indonesia
Who is online

Users browsing this forum: No registered users and 10 guests