GM
Asked
Hello sir, please help how to show unit for each item solid in POS Receipt , please and please . If their codes please provide I'll add my self.
Thank you
Thank you
- MSAnsweredHello,
You will need to modify the POS model `app/models/admin/Pos_model.php` to get the base unit and then the receipt view file `themes/default/admin/views/pos/view.php` to display it.
> We don't offer support for modifications and modified versions. You are allowed to modify the item code as you need as per license.
Thank you - GMAnsweredOoh ! that is very tough for me , please can you help sir as you know is important for everyone , let assume you have Items with Kg and Bag if storekeeper get receipt , failed to know which item to release.
- MSAnsweredHello,
You can edit `themes/default/admin/views/pos/view.php` to search for
```php
$this->sma->formatQuantity($row->unit_quantity)
```
to replace it with
```php
$this->sma->formatQuantity($row->unit_quantity) . ($row->product_unit_code ?: '')
```
Thank you - GMAnsweredThank you much brother, your Good People always . Thank you so much for nice thing you did !
- Login to Reply