# |
Feb 13th 2020, 06:35 |
md.islam11 |
no |
# |
Feb 13th 2020, 06:35 |
javier.villanueva |
ok I saw |
# |
Feb 13th 2020, 06:35 |
md.islam11 |
not |
# |
Feb 13th 2020, 06:34 |
md.islam11 |
yes |
# |
Feb 13th 2020, 06:33 |
javier.villanueva |
your rerquestData has ['docs'] ? |
# |
Feb 13th 2020, 06:31 |
md.islam11 |
Please check main chat |
# |
Feb 13th 2020, 06:31 |
md.islam11 |
This line is wrong for sure . |
# |
Feb 13th 2020, 06:31 |
md.islam11 |
```$request=$this->Requests->patchEntity($this->Requests->newEntity(), $requestData,['associated' => ['RequestItems'=>['associated'=>['Docs']]]]);``` |
# |
Feb 13th 2020, 06:30 |
md.islam11 |
Patchentity have not docs. |
# |
Feb 13th 2020, 06:29 |
md.islam11 |
Here is the patch entity |
# |
Feb 13th 2020, 06:28 |
slackebot |
<md.islam11> |
# |
Feb 13th 2020, 06:28 |
slackebot |
<md.islam11> |
# |
Feb 13th 2020, 06:27 |
javier.villanueva |
$request |
# |
Feb 13th 2020, 06:26 |
javier.villanueva |
use the main chat better. Show the patchEntity response |
# |
Feb 13th 2020, 06:26 |
slackebot |
) [request_date] => 2020-02-13 12:02:51 )``` |
# |
Feb 13th 2020, 06:26 |
slackebot |
[settlement_currency_id] => 1 [requested_currency_id] => 1 [iexpense_currency_rate_id] => 1 [docs] => Array ( [0] => Array ( [is_cost] => 1 [file_name] => aaaa ) ) ) |
# |
Feb 13th 2020, 06:26 |
md.islam11 |
```Array ( [request_type] => OTHER [advanced_type] => CLAIM [expense_number] => 0048 [status] => Draft [comments] => test [request_items] => Array ( [0] => Array ( [requested_amount] => 101 [settlement_amount] => 101 [item_currency_rate] => 1 [iexpense_category_id] => 4 |
# |
Feb 13th 2020, 06:26 |
javier.villanueva |
yhanks |
# |
Feb 13th 2020, 06:26 |
javier.villanueva |
ok...with params... i dont know first time not works |
# |
Feb 13th 2020, 06:25 |
md.islam11 |
Ok. wait a min. Just a heads up. [request has many items and items has many docs] |
# |
Feb 13th 2020, 06:24 |
javier.villanueva |
Its possible to get controller and action from url? (or fron $this->referer())? |
# |
Feb 13th 2020, 06:21 |
javier.villanueva |
@md.islam11 debug your request and show |
# |
Feb 13th 2020, 06:21 |
matiur756 |
morning to everybody |
# |
Feb 13th 2020, 06:20 |
alexdd55976 |
:) |
# |
Feb 13th 2020, 06:20 |
javier.villanueva |
morning all |
# |
Feb 13th 2020, 06:20 |
alexdd55976 |
morning fellows |
# |
Feb 13th 2020, 06:16 |
md.islam11 |
Got not entry in Docs table . |
# |
Feb 13th 2020, 06:16 |
md.islam11 |
Request data ( ok ) Request item data ( ok ) Docs data ( not ok ) |
# |
Feb 13th 2020, 06:15 |
md.islam11 |
currently i am doing this |
# |
Feb 13th 2020, 06:15 |
md.islam11 |
```$request=$this->Requests->patchEntity($this->Requests->newEntity(), $requestData,['associated' => ['RequestItems'=>['associated'=>['Docs']]]]);``` |
# |
Feb 13th 2020, 06:15 |
md.islam11 |
? |
# |
Feb 13th 2020, 06:15 |
md.islam11 |
How to save many to many relation |
# |
Feb 13th 2020, 06:15 |
md.islam11 |
hello |
# |
Feb 13th 2020, 05:09 |
christianjohn.gss |
hello! |
# |
Feb 12th 2020, 22:47 |
damiano |
hashing has no problem, as you can see i use hash() but if i do hash(username) anyone can create it (knowing the salt) |
# |
Feb 12th 2020, 22:36 |
sebastian.krzewinski. |
sorry for the disappointment |
# |
Feb 12th 2020, 22:35 |
sebastian.krzewinski. |
i dont have even created database xd |
# |
Feb 12th 2020, 22:35 |
sebastian.krzewinski. |
:yum: |
# |
Feb 12th 2020, 22:31 |
ricksaccous |
lol i figured this wasn't a big deal for you since you were sharing it no worries @sebastian.krzewinski. i was just teasing |
# |
Feb 12th 2020, 22:29 |
sebastian.krzewinski. |
root is default database username in xamp ;) @ricksaccous |
# |
Feb 12th 2020, 22:24 |
sebastian.krzewinski. |
@damiano default hashing is week? |