Quantcast
Channel: ProjeQtOr free project management software - ProjeQtOr free project management software - Recent Topics - ProjeQtOr
Viewing all articles
Browse latest Browse all 6784

Quotation from Project - by: antonio.grr

$
0
0
Hi.
In a previous Topic of mine I asked for automatic creation of Tender ( mistake !! I meant Quotation) and Bill. Now I can show you a raw code that I wrote for Quotation
In attachment a QuotationMain with some new methods.
Other minor changes in ObjectButtons.php to handle button
<?php if ($objClass == "Project") { ?>
<span id="createQuotationButtonDiv" >
<button id="createQuotationButton" dojoType="dijit.form.Button" showlabel="false"
title="Crete Quotation"
<?php
if ($noselect) {
echo "disabled";
}
?>
iconClass="dijitButtonIcon dijitButtonIconCreateQuotation" class="detailButton">
<script type="dojo/connect" event="onClick" args="evt">
createQuotationFromProject(<?php echo $objectId; ?>) ;
</script>
</button>
</span>
?>
and in projeqtor.js
It's not internationalized, many checks must be added and some fields in quotation could better set in a dynamic dialog, but it should be enough to explain my idea.
Next step form me is to create Bill from real amounts.
Best regards

Viewing all articles
Browse latest Browse all 6784

Trending Articles