Skip to content

Add projects create/update.#121

Open
jelleroorda wants to merge 1 commit into
php-twinfield:masterfrom
QlicSoftware:feature/projects
Open

Add projects create/update.#121
jelleroorda wants to merge 1 commit into
php-twinfield:masterfrom
QlicSoftware:feature/projects

Conversation

@jelleroorda

@jelleroorda jelleroorda commented Oct 5, 2018

Copy link
Copy Markdown

I currently got this working for me (on a very basic level), so any reviews / extensions to this code would be appreciated.

@jelleroorda jelleroorda force-pushed the feature/projects branch 3 times, most recently from 5b57f7b to c5cdcce Compare October 8, 2018 11:52
@jelleroorda jelleroorda changed the title WIP: Add projects create/update. Extend BaseMapper. Add projects create/update. Oct 8, 2018
@studioweb

Copy link
Copy Markdown

@jelleroorda I link a customer to a project. Could you please let me know if this is possible or not with this version? Thanks!
Code:

$project
    ->setName('Test')
    ->setShortName('Test')				
    ->setStatus(ProjectStatus::ACTIVE())
    ->setCode('00013')
    ->setCustomer('1004')
    ->setBillabLe(FALSE)
	->setOffice($office);

@jelleroorda

Copy link
Copy Markdown
Author

I wrote this code in 2018 because we needed it at a company that I worked for at the time. I’m not going to work on this anymore at the moment.

To answer your question: it looks like you can (from a quick look at the diff). I’m afraid you’ll have to test it yourself to find out for sure 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants