mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-02-07 12:08:40 +00:00
impl. todos or move to Project.md
This commit is contained in:
parent
cfe0332f43
commit
e70b45551f
|
|
@ -175,6 +175,7 @@ final class ApiController extends Controller
|
|||
* @return BillElement
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @todo in the database the customer localized version should be stored because this is the version which went out
|
||||
*/
|
||||
public function createBillElementFromRequest(RequestAbstract $request, ResponseAbstract $response, $data = null) : BillElement
|
||||
{
|
||||
|
|
@ -187,7 +188,6 @@ final class ApiController extends Controller
|
|||
}
|
||||
|
||||
$item = ItemMapper::with('language', $response->getLanguage())::get($element->item);
|
||||
// @todo: which item name should be stored in the database? server language (problem for international company with subsidiaries)? customer default language/customer invoice language?
|
||||
$element->itemNumber = $item->number;
|
||||
$element->itemName = $item->getL11n('name1')->description;
|
||||
$element->quantity = $request->getData('quantity', 'int');
|
||||
|
|
|
|||
|
|
@ -1102,8 +1102,6 @@ BillType $type = 0;
|
|||
*
|
||||
* @return void
|
||||
*
|
||||
* @todo do same for actual tracking information per trackign id
|
||||
*
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public function addTracking(string $tracking) : void
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user